summaryrefslogtreecommitdiffstats
path: root/Lib/http/client.py
diff options
context:
space:
mode:
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):