aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/ec.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/ec.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/ec.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst
index 798fbab1..3773e0ae 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
-,, method:: generate_private_key(curve, backend):
+.. method:: generate_private_key(curve, backend):
.. versionadded:: 0.5
@@ -109,7 +109,7 @@ Elliptic Curve Signature Algorithms
:class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm`
provider.
- .. code-block:: pycon
+ .. doctest::
>>> from cryptography.hazmat.backends import default_backend
>>> from cryptography.hazmat.primitives import hashes