From faf305b3143d35d60d860c4156d020494280008b Mon Sep 17 00:00:00 2001 From: Alex Stapleton Date: Sat, 12 Jul 2014 12:27:37 +0100 Subject: Get rid of remaining pycon blocks --- docs/random-numbers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/random-numbers.rst') 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) -- cgit v1.2.3