aboutsummaryrefslogtreecommitdiffstats
path: root/docs/random-numbers.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-07-12 08:09:47 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-07-12 08:09:47 -0500
commitf11d17b5c787409a7689279aec8f5435c64fdce8 (patch)
treed5100c200dd95fa9a4190649f99878b6642d06a1 /docs/random-numbers.rst
parent3e5ea581f240bc9ec19a50f87b326873550feb21 (diff)
parentfaf305b3143d35d60d860c4156d020494280008b (diff)
downloadcryptography-f11d17b5c787409a7689279aec8f5435c64fdce8.tar.gz
cryptography-f11d17b5c787409a7689279aec8f5435c64fdce8.tar.bz2
cryptography-f11d17b5c787409a7689279aec8f5435c64fdce8.zip
Merge pull request #1259 from public/doctests
Get rid of remaining pycon blocks
Diffstat (limited to 'docs/random-numbers.rst')
-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 12969d1c..410f3757 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:
-.. code-block:: pycon
+.. doctest::
>>> import os
>>> os.urandom(16)