diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-02-03 11:55:32 +0200 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-02-03 11:55:32 +0200 |
commit | 50457403f2a86769f378b6a57f6f4ed0c7b9cc39 (patch) | |
tree | 9e4ee72cff225e96003b55f4d254dbe2bdd7f457 /Lib/socketserver.py | |
parent | Issue #15381: Optimized io.BytesIO to make less allocations and copyings. (diff) | |
parent | Issue #23358: Add missing BaseServer entry to socketserver.__all__. (diff) | |
download | cpython-50457403f2a86769f378b6a57f6f4ed0c7b9cc39.tar.gz cpython-50457403f2a86769f378b6a57f6f4ed0c7b9cc39.tar.bz2 cpython-50457403f2a86769f378b6a57f6f4ed0c7b9cc39.zip |
Issue #23358: Add missing BaseServer entry to socketserver.__all__.
Patch by Martin Panter.
Diffstat (limited to 'Lib/socketserver.py')
-rw-r--r-- | Lib/socketserver.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/socketserver.py b/Lib/socketserver.py index fc4ee4eed0f..c43f1be578d 100644 --- a/Lib/socketserver.py +++ b/Lib/socketserver.py @@ -138,10 +138,10 @@ except ImportError: import dummy_threading as threading from time import monotonic as time -__all__ = ["TCPServer","UDPServer","ForkingUDPServer","ForkingTCPServer", - "ThreadingUDPServer","ThreadingTCPServer","BaseRequestHandler", - "StreamRequestHandler","DatagramRequestHandler", - "ThreadingMixIn", "ForkingMixIn"] +__all__ = ["BaseServer", "TCPServer", "UDPServer", "ForkingUDPServer", + "ForkingTCPServer", "ThreadingUDPServer", "ThreadingTCPServer", + "BaseRequestHandler", "StreamRequestHandler", + "DatagramRequestHandler", "ThreadingMixIn", "ForkingMixIn"] if hasattr(socket, "AF_UNIX"): __all__.extend(["UnixStreamServer","UnixDatagramServer", "ThreadingUnixStreamServer", |