]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
expand __all__ to include a bunch of names that should have been there
authorSkip Montanaro <skip@pobox.com>
Thu, 31 May 2001 18:03:22 +0000 (18:03 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 31 May 2001 18:03:22 +0000 (18:03 +0000)
before.

Lib/httplib.py

index fb87099ee994066b4c9cad7ec03ff9deb7ad7b69..1e08539e2fece0fd02324fbe35859f15f8ddc4fa 100644 (file)
@@ -74,7 +74,12 @@ try:
 except ImportError:
     from StringIO import StringIO
 
-__all__ = ["HTTP"]
+__all__ = ["HTTP", "HTTPResponse", "HTTPConnection", "HTTPSConnection",
+           "HTTPException", "NotConnected", "UnknownProtocol",
+           "UnknownTransferEncoding", "IllegalKeywordArgument",
+           "UnimplementedFileMode", "IncompleteRead",
+           "ImproperConnectionState", "CannotSendRequest", "CannotSendHeader",
+           "ResponseNotReady", "BadStatusLine", "error"]
 
 HTTP_PORT = 80
 HTTPS_PORT = 443