aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/cryptographic-hashes.rst
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-20 10:49:13 -0800
committerDavid Reid <dreid@dreid.org>2013-11-20 10:49:13 -0800
commit63fa19ace98c2c88a6065acc9e944a71480ff651 (patch)
treef06d37f00d6df05e387e082383fdbd2bdcbeea17 /docs/hazmat/primitives/cryptographic-hashes.rst
parent846460ae25554cbf007c0b65f8d7997d543ea53e (diff)
downloadcryptography-63fa19ace98c2c88a6065acc9e944a71480ff651.tar.gz
cryptography-63fa19ace98c2c88a6065acc9e944a71480ff651.tar.bz2
cryptography-63fa19ace98c2c88a6065acc9e944a71480ff651.zip
Use backend as keyword argument everywhere.
Diffstat (limited to 'docs/hazmat/primitives/cryptographic-hashes.rst')
-rw-r--r--docs/hazmat/primitives/cryptographic-hashes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/cryptographic-hashes.rst b/docs/hazmat/primitives/cryptographic-hashes.rst
index f05b45a5..92f8fa30 100644
--- a/docs/hazmat/primitives/cryptographic-hashes.rst
+++ b/docs/hazmat/primitives/cryptographic-hashes.rst
@@ -22,7 +22,7 @@ Message Digests
>>> from cryptography.hazmat.bindings import default_backend
>>> from cryptography.hazmat.primitives import hashes
- >>> digest = hashes.Hash(hashes.SHA256(), default_backend())
+ >>> digest = hashes.Hash(hashes.SHA256(), backend=default_backend())
>>> digest.update(b"abc")
>>> digest.update(b"123")
>>> digest.finalize()