]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
authorSandro Tosi <sandro.tosi@gmail.com>
Sun, 12 Aug 2012 13:12:15 +0000 (15:12 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sun, 12 Aug 2012 13:12:15 +0000 (15:12 +0200)
Doc/library/random.rst

index 5aa126270adf4fb5edca641ee1bcc182dfb79dd2..3a7f131fdbbf1dbc6fe53cedd299ff28a50f0a72 100644 (file)
@@ -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)