From 831467cce6c2a2b916e30914635924042b15ed2d Mon Sep 17 00:00:00 2001 From: Julian Krause Date: Thu, 26 Dec 2013 21:12:58 -0800 Subject: Documentation clarity and grammer fixes. --- cryptography/hazmat/primitives/interfaces.py | 2 +- 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. -- cgit v1.2.3