summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-08-12 13:12:15 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-08-12 13:12:15 (GMT)
commit985104a20c85e225523489ab8d7d06b6474bb21d (patch)
treeb48dda0f366be37bda840edad6952c6529223aea
parent82a509ca759dd420906ee074c0ca5973be137a30 (diff)
downloadcpython-985104a20c85e225523489ab8d7d06b6474bb21d.zip
cpython-985104a20c85e225523489ab8d7d06b6474bb21d.tar.gz
cpython-985104a20c85e225523489ab8d7d06b6474bb21d.tar.bz2
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
-rw-r--r--Doc/library/random.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 5aa1262..3a7f131 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -74,7 +74,7 @@ Bookkeeping functions:
*state* should have been obtained from a previous call to :func:`getstate`, and
:func:`setstate` restores the internal state of the generator to what it was at
- the time :func:`setstate` was called.
+ the time :func:`getstate` was called.
.. function:: getrandbits(k)