commit | 5318c7aa59ed5fce0fcfdb775d030b9090cef39a | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Jan 07 11:26:50 2015 -0600 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Jan 07 11:26:50 2015 -0600 |
tree | be5c01b5222b700cc650c7504398b075bf6d3869 | |
parent | 4cb17812d94c57868257743dc163b4c62a1de9d7 [diff] [blame] |
explain None can be returned
diff --git a/Lib/ssl.py b/Lib/ssl.py index 658e8a7..386702b 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py
@@ -573,7 +573,9 @@ return self._sslobj.cipher() def shared_ciphers(self): - """Return the ciphers shared by the client during the handshake.""" + """Return the a list of ciphers shared by the client during the + handshake or None if this is not a valid server connection. + """ return self._sslobj.shared_ciphers() def compression(self):