aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2014-02-07 13:38:38 -0800
committerDavid Reid <dreid@dreid.org>2014-02-07 13:38:38 -0800
commitb69aff539e9c16ae359bd2392d0f5e9604fdeaa0 (patch)
treecfb70c487defbe740dfd3a6765ce86d51c5fec78 /docs
parent7981d22b62f55379f3b785733cf6dcad480d246a (diff)
downloadcryptography-b69aff539e9c16ae359bd2392d0f5e9604fdeaa0.tar.gz
cryptography-b69aff539e9c16ae359bd2392d0f5e9604fdeaa0.tar.bz2
cryptography-b69aff539e9c16ae359bd2392d0f5e9604fdeaa0.zip
Use a pycon codeblock instead...
Diffstat (limited to 'docs')
-rw-r--r--docs/random-numbers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/random-numbers.rst b/docs/random-numbers.rst
index c8f95fd8..cd73a7b7 100644
--- a/docs/random-numbers.rst
+++ b/docs/random-numbers.rst
@@ -13,7 +13,7 @@ provided random number generator, which is available as ``os.urandom()``. For
example, if you need 16 bytes of random data for an initialization vector, you
can obtain them with:
-.. doctest::
+.. code-block:: pycon
>>> import os
>>> os.urandom(16)