diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-12-29 10:31:13 -0500 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-12-29 10:31:13 -0500 |
commit | 511cde06cda16e456dd309c6288cb8497821009a (patch) | |
tree | 1c67f7c22e00b95dd7ef9d1081e192714d6e7db3 | |
parent | 7cf3bf51be9cfa1a85907689b14b37727bd88d98 (diff) | |
download | pyopenssl-511cde06cda16e456dd309c6288cb8497821009a.tar.gz |
add some missing docstrings
-rw-r--r-- | OpenSSL/SSL.py | 4 | ||||
-rw-r--r-- | OpenSSL/crypto.py | 4 | ||||
-rw-r--r-- | OpenSSL/rand.py | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py index 1e85795..b0b6395 100644 --- a/OpenSSL/SSL.py +++ b/OpenSSL/SSL.py @@ -105,7 +105,9 @@ SSL_CB_HANDSHAKE_DONE = _lib.SSL_CB_HANDSHAKE_DONE class Error(Exception): - pass + """ + An error occurred in an `OpenSSL.SSL` API. + """ diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py index e699f37..f47bb14 100644 --- a/OpenSSL/crypto.py +++ b/OpenSSL/crypto.py @@ -18,7 +18,9 @@ TYPE_DSA = _lib.EVP_PKEY_DSA class Error(Exception): - pass + """ + An error occurred in an `OpenSSL.crypto` API. + """ _raise_current_error = partial(_exception_from_error_queue, Error) diff --git a/OpenSSL/rand.py b/OpenSSL/rand.py index 0204118..de158f6 100644 --- a/OpenSSL/rand.py +++ b/OpenSSL/rand.py @@ -15,7 +15,9 @@ from OpenSSL._util import ( class Error(Exception): - pass + """ + An error occurred in an `OpenSSL.rand` API. + """ _raise_current_error = partial(_exception_from_error_queue, Error) |