From b69aff539e9c16ae359bd2392d0f5e9604fdeaa0 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 7 Feb 2014 13:38:38 -0800 Subject: Use a pycon codeblock instead... --- docs/random-numbers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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) -- cgit v1.2.3