From 95a886a807aa6c8a7eb5cfcc1327e954b3402b62 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Wed, 23 Oct 2019 08:26:36 -0400 Subject: fix copy pasta in example snippet (#5033) --- docs/hazmat/primitives/asymmetric/ec.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs') 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()) -- cgit v1.2.3