aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-21 21:49:50 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-21 21:49:50 -0700
commitf3b06cdc381fc61d37fea148e9d691338b97d1f3 (patch)
treeae134db3174598c14934801d0c0258376591f0e8
parente524d73d76d63c6399a55cd80cec53cf39c98659 (diff)
downloadcryptography-f3b06cdc381fc61d37fea148e9d691338b97d1f3.tar.gz
cryptography-f3b06cdc381fc61d37fea148e9d691338b97d1f3.tar.bz2
cryptography-f3b06cdc381fc61d37fea148e9d691338b97d1f3.zip
Document this parameter to the constructor
-rw-r--r--docs/primitives/cryptographic-hashes.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/primitives/cryptographic-hashes.rst b/docs/primitives/cryptographic-hashes.rst
index d4dde042..aeb30f40 100644
--- a/docs/primitives/cryptographic-hashes.rst
+++ b/docs/primitives/cryptographic-hashes.rst
@@ -1,11 +1,13 @@
Message Digests
===============
-.. class:: cryptography.primitives.hashes.BaseHash
+.. class:: cryptography.primitives.hashes.BaseHash(data=None)
Abstract base class that implements a common interface for all hash
algorithms that follow here.
+ If ``data`` is provided ``update(data)`` is called upon construction.
+
.. method:: update(data)
:param bytes data: The bytes you wish to hash.