mirror of
https://github.com/python/cpython.git
synced 2025-09-22 08:23:36 +00:00
explain None can be returned
This commit is contained in:
parent
4cb17812d9
commit
5318c7aa59
1 changed files with 3 additions and 1 deletions
|
@ -573,7 +573,9 @@ class SSLObject:
|
||||||
return self._sslobj.cipher()
|
return self._sslobj.cipher()
|
||||||
|
|
||||||
def shared_ciphers(self):
|
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()
|
return self._sslobj.shared_ciphers()
|
||||||
|
|
||||||
def compression(self):
|
def compression(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue