diff options
author | Ofek Lev <ofekmeister@gmail.com> | 2019-10-23 08:26:36 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2019-10-23 08:26:36 -0400 |
commit | 95a886a807aa6c8a7eb5cfcc1327e954b3402b62 (patch) | |
tree | 41b298d12152402fe191366d952aee4d1d4386b3 /docs/hazmat/primitives/asymmetric/ec.rst | |
parent | 8406100cea0ec2e67e63d2676a88973250c2e9b9 (diff) | |
download | cryptography-95a886a807aa6c8a7eb5cfcc1327e954b3402b62.tar.gz cryptography-95a886a807aa6c8a7eb5cfcc1327e954b3402b62.tar.bz2 cryptography-95a886a807aa6c8a7eb5cfcc1327e954b3402b62.zip |
fix copy pasta in example snippet (#5033)
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/ec.rst')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/ec.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst index d8b8c052..05dd846c 100644 --- a/docs/hazmat/primitives/asymmetric/ec.rst +++ b/docs/hazmat/primitives/asymmetric/ec.rst @@ -773,9 +773,8 @@ This sample demonstrates how to generate a private key and serialize it. .. doctest:: >>> from cryptography.hazmat.backends import default_backend - >>> from cryptography.hazmat.primitives import hashes - >>> from cryptography.hazmat.primitives.asymmetric import ec >>> from cryptography.hazmat.primitives import serialization + >>> from cryptography.hazmat.primitives.asymmetric import ec >>> private_key = ec.generate_private_key(ec.SECP384R1(), default_backend()) |