summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-10-05 22:21:09 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2014-10-05 22:21:09 (GMT)
commit3cb9379881a91f81416b770795b0fc81c6de6bf9 (patch)
tree19d8337986ced2801b8652ff757dc800bf73940d /Lib/ssl.py
parentb1fdf47ff5e5a81955c87dfc95d3eb5400da0e8e (diff)
downloadcpython-3cb9379881a91f81416b770795b0fc81c6de6bf9.zip
cpython-3cb9379881a91f81416b770795b0fc81c6de6bf9.tar.gz
cpython-3cb9379881a91f81416b770795b0fc81c6de6bf9.tar.bz2
Remove unused "block" argument in SSLObject.do_handshake() (issue #21965)
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 3a60908..8854e37 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: