commit | 6e451df800af66eefe68ea15938bd65029af06c5 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Aug 09 20:39:54 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Aug 09 20:39:54 2010 +0000 |
tree | 3a94bf3c48a965f464f1f112d384076103a4676a | |
parent | 30e86a47676d2175901af29445aec5bd7967ef76 [diff] [blame] |
Followup to r83869 and issue #8524: rename socket.forget() to socket.detach() and make it return the file descriptor.
diff --git a/Lib/ssl.py b/Lib/ssl.py index 7bcc67e..5e2da29 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py
@@ -157,7 +157,7 @@ raise else: connected = True - sock.forget() + sock.detach() elif fileno is not None: socket.__init__(self, fileno=fileno) else: