diff Lib/socket.py @ 16613:f68dbffff927 legacy-trunk

bunch more __all__ lists also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
author Skip Montanaro <skip@pobox.com>
date Thu, 15 Feb 2001 22:15:14 +0000
parents 3685ef2a55a4
children 09ba15ee1961
line wrap: on
line diff
--- a/Lib/socket.py	Thu Feb 15 17:00:40 2001 +0000
+++ b/Lib/socket.py	Thu Feb 15 22:15:14 2001 +0000
@@ -42,6 +42,11 @@
 
 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")):