[Python-checkins] cpython (3.2): it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
sandro.tosi
python-checkins at python.org
Sun Aug 12 15:12:54 CEST 2012
http://hg.python.org/cpython/rev/e87fb826c092
changeset: 78526:e87fb826c092
branch: 3.2
parent: 78522:7346821faf68
user: Sandro Tosi <sandro.tosi at gmail.com>
date: Sun Aug 12 15:12:15 2012 +0200
summary:
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
files:
Doc/library/random.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -74,7 +74,7 @@
*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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list