diff --git a/Lib/ssl.py b/Lib/ssl.py index 3a609089f1b..8854e377486 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: