mirror of
https://github.com/python/cpython.git
synced 2024-11-23 09:54:58 +08:00
explain None can be returned
This commit is contained in:
parent
4cb17812d9
commit
5318c7aa59
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user