summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index bff5514..c928700 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -42,6 +42,11 @@ from _socket import *
import os, sys
+__all__ = ["getfqdn"]
+import _socket
+__all__.extend(os._get_exports_list(_socket))
+del _socket
+
if (sys.platform.lower().startswith("win")
or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")):