Commit fa9c38d8 authored by Antoine Pitrou's avatar Antoine Pitrou

FakeSocket is (supposed to be) gone in 3.x

parent 1e2ae4f0
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment