diff options
author | Julian Krause <julian.krause@gmail.com> | 2013-12-26 21:12:58 -0800 |
---|---|---|
committer | Julian Krause <julian.krause@gmail.com> | 2013-12-26 21:12:58 -0800 |
commit | 831467cce6c2a2b916e30914635924042b15ed2d (patch) | |
tree | d559d35ea87ec7efd47b8b43779bb82feca91d8c | |
parent | 5093d97130ff3ae5328d1e6e83e86f1988f1e277 (diff) | |
download | cryptography-831467cce6c2a2b916e30914635924042b15ed2d.tar.gz cryptography-831467cce6c2a2b916e30914635924042b15ed2d.tar.bz2 cryptography-831467cce6c2a2b916e30914635924042b15ed2d.zip |
Documentation clarity and grammer fixes.
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 2 | ||||
-rw-r--r-- | docs/exceptions.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index 4143d644..371701a4 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -167,5 +167,5 @@ class HashContext(six.with_metaclass(abc.ABCMeta)): def verify(self, signature): """ Compare hash digest to signature and raises InvalidSignature - they are not equal. + if they are not equal. """ diff --git a/docs/exceptions.rst b/docs/exceptions.rst index 8be2c48c..1fbd3267 100644 --- a/docs/exceptions.rst +++ b/docs/exceptions.rst @@ -10,7 +10,7 @@ Exceptions .. class:: InvalidSignature - This is raised when the verify function of a hash function does not + This is raised when the verify method of a hash context does not compare equal. |