From: Antoine Pitrou Date: Sun, 5 Oct 2014 22:21:09 +0000 (+0200) Subject: Remove unused "block" argument in SSLObject.do_handshake() (issue #21965) X-Git-Tag: v3.5.0a1~749 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cb9379881a91f81416b770795b0fc81c6de6bf9;p=python Remove unused "block" argument in SSLObject.do_handshake() (issue #21965) --- diff --git a/Lib/ssl.py b/Lib/ssl.py index 3a609089f1..8854e37748 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -567,7 +567,7 @@ class SSLObject: """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: