]> granicus.if.org Git - python/commitdiff
explain None can be returned
authorBenjamin Peterson <benjamin@python.org>
Wed, 7 Jan 2015 17:26:50 +0000 (11:26 -0600)
committerBenjamin Peterson <benjamin@python.org>
Wed, 7 Jan 2015 17:26:50 +0000 (11:26 -0600)
Lib/ssl.py

index 658e8a722d3289bbfb9b217ce1e1e657ee5cf6c3..386702b55778f87ea8a1e6ace5608e8523415276 100644 (file)
@@ -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):