From: Benjamin Peterson Date: Wed, 7 Jan 2015 17:26:50 +0000 (-0600) Subject: explain None can be returned X-Git-Tag: v3.5.0a1~228 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5318c7aa59ed5fce0fcfdb775d030b9090cef39a;p=python explain None can be returned --- diff --git a/Lib/ssl.py b/Lib/ssl.py index 658e8a722d..386702b557 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -573,7 +573,9 @@ class SSLObject: 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):