mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)
This commit is contained in:
parent
b1fdf47ff5
commit
3cb9379881
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue