Kaydet (Commit) 3cb93798 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

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

üst b1fdf47f
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment