aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/dsa.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-01 17:36:22 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-02 08:49:21 -0500
commitd955cf854ce342a95d48b646ded8b2ef7e88e5ec (patch)
tree234a38e5d78ab0d682f7250f6ee45c861c079689 /docs/hazmat/primitives/asymmetric/dsa.rst
parent80950e59c74dee165a1600742be99b51bfd63f22 (diff)
downloadcryptography-d955cf854ce342a95d48b646ded8b2ef7e88e5ec.tar.gz
cryptography-d955cf854ce342a95d48b646ded8b2ef7e88e5ec.tar.bz2
cryptography-d955cf854ce342a95d48b646ded8b2ef7e88e5ec.zip
convert dsa examples to doctest
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/dsa.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/dsa.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/dsa.rst b/docs/hazmat/primitives/asymmetric/dsa.rst
index 1d58ccef..f7abaf0f 100644
--- a/docs/hazmat/primitives/asymmetric/dsa.rst
+++ b/docs/hazmat/primitives/asymmetric/dsa.rst
@@ -103,7 +103,7 @@ DSA
Sign data which can be verified later by others using the public key.
- .. code-block:: pycon
+ .. doctest::
>>> from cryptography.hazmat.backends import default_backend
>>> from cryptography.hazmat.primitives import hashes
@@ -167,7 +167,7 @@ DSA
Verify data was signed by the private key associated with this public
key.
- .. code-block:: pycon
+ .. doctest::
>>> from cryptography.hazmat.backends import default_backend
>>> from cryptography.hazmat.primitives import hashes