[Python-checkins] cpython (2.7): it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@

sandro.tosi python-checkins at python.org
Sun Aug 12 15:12:56 CEST 2012


http://hg.python.org/cpython/rev/df337391f9f5
changeset:   78527:df337391f9f5
branch:      2.7
parent:      78521:61f1bf70db95
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sun Aug 12 15:11:58 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
@@ -90,7 +90,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.
 
    .. versionadded:: 2.1
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list