Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)

This commit is contained in:
Antoine Pitrou 2014-10-06 00:21:09 +02:00
parent b1fdf47ff5
commit 3cb9379881
1 changed files with 1 additions and 1 deletions

View File

@ -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: