diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-02-03 09:55:09 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-02-03 09:55:09 (GMT) |
commit | 3265344a85a2bac749230c2d6ef1b20edcd63906 (patch) | |
tree | 4664ae622f2d7953438299f461cf3f72965fe633 /Lib/socketserver.py | |
parent | c057c3859c68f2e86c7a492ae8f8b4b3a3b136c8 (diff) | |
download | cpython-3265344a85a2bac749230c2d6ef1b20edcd63906.zip cpython-3265344a85a2bac749230c2d6ef1b20edcd63906.tar.gz cpython-3265344a85a2bac749230c2d6ef1b20edcd63906.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 7339911..5cb89be 100644 --- a/Lib/socketserver.py +++ b/Lib/socketserver.py @@ -138,10 +138,10 @@ try: except ImportError: import dummy_threading as threading -__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", |