diff options
Diffstat (limited to 'Lib/SocketServer.py')
-rw-r--r-- | Lib/SocketServer.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py index e1967fe..ec0159a 100644 --- a/Lib/SocketServer.py +++ b/Lib/SocketServer.py @@ -127,6 +127,13 @@ import socket import sys import os +__all__ = ["TCPServer","UDPServer","ForkingUDPServer","ForkingTCPServer", + "ThreadingUDPServer","ThreadingTCPServer","BaseRequestHandler", + "StreamRequestHandler","DatagramRequestHandler"] +if hasattr(socket, "AF_UNIX"): + __all__.extend(["UnixStreamServer","UnixDatagramServer", + "ThreadingUnixStreamServer", + "ThreadingUnixDatagramServer"]) class BaseServer: |