[Python-checkins] cpython: explain None can be returned
benjamin.peterson
python-checkins at python.org
Wed Jan 7 18:32:25 CET 2015
https://hg.python.org/cpython/rev/7c208844f560
changeset: 94060:7c208844f560
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 07 11:26:50 2015 -0600
summary:
explain None can be returned
files:
Lib/ssl.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/ssl.py b/Lib/ssl.py
--- 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):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list