From 4922c45e2dbee7760f17f9776ba39bae0295c1e7 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 20 Nov 2014 19:45:07 -0800 Subject: fixed a syntax error in the docs --- docs/hazmat/primitives/asymmetric/ec.rst | 2 +- docs/hazmat/primitives/asymmetric/serialization.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/hazmat/primitives') diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst index a229fe41..fd20cbb2 100644 --- a/docs/hazmat/primitives/asymmetric/ec.rst +++ b/docs/hazmat/primitives/asymmetric/ec.rst @@ -6,7 +6,7 @@ Elliptic curve cryptography .. currentmodule:: cryptography.hazmat.primitives.asymmetric.ec -.. function:: generate_private_key(curve, backend): +.. function:: generate_private_key(curve, backend) .. versionadded:: 0.5 diff --git a/docs/hazmat/primitives/asymmetric/serialization.rst b/docs/hazmat/primitives/asymmetric/serialization.rst index b86fab64..b0b37b80 100644 --- a/docs/hazmat/primitives/asymmetric/serialization.rst +++ b/docs/hazmat/primitives/asymmetric/serialization.rst @@ -63,7 +63,7 @@ don't need to worry about this detail. PEM keys are recognizable because they all begin with ``-----BEGIN {format}-----`` and end with ``-----END {format}-----``. -.. function:: load_pem_private_key(data, password, backend): +.. function:: load_pem_private_key(data, password, backend) .. versionadded:: 0.6 @@ -92,7 +92,7 @@ all begin with ``-----BEGIN {format}-----`` and end with ``-----END is not supported by the backend or if the key is encrypted with a symmetric cipher that is not supported by the backend. -.. function:: load_pem_public_key(data, backend): +.. function:: load_pem_public_key(data, backend) .. versionadded:: 0.6 -- cgit v1.2.3