diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-02-03 09:55:32 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-02-03 09:55:32 (GMT) |
commit | 50457403f2a86769f378b6a57f6f4ed0c7b9cc39 (patch) | |
tree | 9e4ee72cff225e96003b55f4d254dbe2bdd7f457 /Lib/socketserver.py | |
parent | 87d0b45485e1042b0eae8aedf98fa3ebb29846b8 (diff) | |
parent | 3265344a85a2bac749230c2d6ef1b20edcd63906 (diff) | |
download | cpython-50457403f2a86769f378b6a57f6f4ed0c7b9cc39.zip cpython-50457403f2a86769f378b6a57f6f4ed0c7b9cc39.tar.gz cpython-50457403f2a86769f378b6a57f6f4ed0c7b9cc39.tar.bz2 |
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 fc4ee4e..c43f1be 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", |