aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-11-20 19:45:07 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-11-20 19:45:07 -0800
commit4922c45e2dbee7760f17f9776ba39bae0295c1e7 (patch)
treea8af8c728d5b7240273032a163144460e0a11220 /docs/hazmat/primitives
parentc98545a2b9d2cd3cd0a694ee334244ac0b53dbc4 (diff)
downloadcryptography-4922c45e2dbee7760f17f9776ba39bae0295c1e7.tar.gz
cryptography-4922c45e2dbee7760f17f9776ba39bae0295c1e7.tar.bz2
cryptography-4922c45e2dbee7760f17f9776ba39bae0295c1e7.zip
fixed a syntax error in the docs
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r--docs/hazmat/primitives/asymmetric/ec.rst2
-rw-r--r--docs/hazmat/primitives/asymmetric/serialization.rst4
2 files changed, 3 insertions, 3 deletions
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