diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-06 18:38:22 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-06 18:38:22 (GMT) |
commit | fa9c38d8e9175338df4d42c721d658b095b4c727 (patch) | |
tree | c4dce7bc89c517bb3115114eb3cdeffd5c12e3bb /Lib/http | |
parent | 1e2ae4f054c20f54238997987416dcff0f3b0f3a (diff) | |
download | cpython-fa9c38d8e9175338df4d42c721d658b095b4c727.zip cpython-fa9c38d8e9175338df4d42c721d658b095b4c727.tar.gz cpython-fa9c38d8e9175338df4d42c721d658b095b4c727.tar.bz2 |
FakeSocket is (supposed to be) gone in 3.x
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/client.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 34c098d..355b36d 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -1067,13 +1067,6 @@ else: self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file) - - def FakeSocket (sock, sslobj): - warnings.warn("FakeSocket is deprecated, and won't be in 3.x. " + - "Use the result of ssl.wrap_socket() directly instead.", - DeprecationWarning, stacklevel=2) - return sslobj - __all__.append("HTTPSConnection") class HTTPException(Exception): |