]> granicus.if.org Git - python/commitdiff
Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 5 Oct 2014 22:21:09 +0000 (00:21 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 5 Oct 2014 22:21:09 +0000 (00:21 +0200)
Lib/ssl.py

index 3a609089f1bb14c3ed32dbcdf731459ff08c5c17..8854e377486cd7bc88e8302512f8fda12eb40bb0 100644 (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: