From 3cb9379881a91f81416b770795b0fc81c6de6bf9 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 6 Oct 2014 00:21:09 +0200 Subject: [PATCH] Remove unused "block" argument in SSLObject.do_handshake() (issue #21965) --- Lib/ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ssl.py b/Lib/ssl.py index 3a609089f1b..8854e377486 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -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: