diff options
author | Ayrx <terrycwk1994@gmail.com> | 2014-05-17 19:47:09 +0800 |
---|---|---|
committer | Ayrx <terrycwk1994@gmail.com> | 2014-05-17 19:47:09 +0800 |
commit | 00eff9ca7fece942670429824cb77dd532190c96 (patch) | |
tree | 6fdc0df70cd1bbecd56049208899111a8edcd202 /docs/hazmat/primitives/cryptographic-hashes.rst | |
parent | 6d69eab6caff7b87d32fab3c7178296e481eb8a4 (diff) | |
download | cryptography-00eff9ca7fece942670429824cb77dd532190c96.tar.gz cryptography-00eff9ca7fece942670429824cb77dd532190c96.tar.bz2 cryptography-00eff9ca7fece942670429824cb77dd532190c96.zip |
Simplified exception message
Diffstat (limited to 'docs/hazmat/primitives/cryptographic-hashes.rst')
-rw-r--r-- | docs/hazmat/primitives/cryptographic-hashes.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/cryptographic-hashes.rst b/docs/hazmat/primitives/cryptographic-hashes.rst index 43dee3f3..7e5295c4 100644 --- a/docs/hazmat/primitives/cryptographic-hashes.rst +++ b/docs/hazmat/primitives/cryptographic-hashes.rst @@ -54,9 +54,7 @@ Message digests :param bytes data: The bytes to be hashed. :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`. - :raises TypeError: This exception is raised if ``data`` is not a binary - type. This is ``str`` in Python 2 and ``bytes`` in - Python 3. + :raises TypeError: This exception is raised if ``data`` is not ``bytes``. .. method:: copy() |