aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorOfek Lev <ofekmeister@gmail.com>2019-10-23 08:26:36 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2019-10-23 08:26:36 -0400
commit95a886a807aa6c8a7eb5cfcc1327e954b3402b62 (patch)
tree41b298d12152402fe191366d952aee4d1d4386b3 /docs
parent8406100cea0ec2e67e63d2676a88973250c2e9b9 (diff)
downloadcryptography-95a886a807aa6c8a7eb5cfcc1327e954b3402b62.tar.gz
cryptography-95a886a807aa6c8a7eb5cfcc1327e954b3402b62.tar.bz2
cryptography-95a886a807aa6c8a7eb5cfcc1327e954b3402b62.zip
fix copy pasta in example snippet (#5033)
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/asymmetric/ec.rst3
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())