explain None can be returned

This commit is contained in:
Benjamin Peterson 2015-01-07 11:26:50 -06:00
parent 4cb17812d9
commit 5318c7aa59
1 changed files with 3 additions and 1 deletions

View File

@ -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):