summaryrefslogtreecommitdiffstats
path: root/Lib/http/client.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-06 18:38:22 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-06 18:38:22 (GMT)
commitfa9c38d8e9175338df4d42c721d658b095b4c727 (patch)
treec4dce7bc89c517bb3115114eb3cdeffd5c12e3bb /Lib/http/client.py
parent1e2ae4f054c20f54238997987416dcff0f3b0f3a (diff)
downloadcpython-fa9c38d8e9175338df4d42c721d658b095b4c727.zip
cpython-fa9c38d8e9175338df4d42c721d658b095b4c727.tar.gz
cpython-fa9c38d8e9175338df4d42c721d658b095b4c727.tar.bz2
FakeSocket is (supposed to be) gone in 3.x
Diffstat (limited to 'Lib/http/client.py')
-rw-r--r--Lib/http/client.py7
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):