[Python-checkins] cpython: Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)

antoine.pitrou python-checkins at python.org
Mon Oct 6 00:21:22 CEST 2014


https://hg.python.org/cpython/rev/8da1aa71cd73
changeset: 92830:8da1aa71cd73
user: Antoine Pitrou <solipsis at pitrou.net>
date: Mon Oct 06 00:21:09 2014 +0200
summary:
 Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)
files:
 Lib/ssl.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/ssl.py b/Lib/ssl.py
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -567,7 +567,7 @@
 """Return the number of bytes that can be read immediately."""
 return self._sslobj.pending()
 
- def do_handshake(self, block=False):
+ def do_handshake(self):
 """Start the SSL/TLS handshake."""
 self._sslobj.do_handshake()
 if self.context.check_hostname:
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /