Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)
This commit is contained in:
parent
b1fdf47ff5
commit
3cb9379881
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue