Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 985104a

Browse files
committed
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
1 parent 82a509c commit 985104a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/random.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Bookkeeping functions:
7474

7575
*state* should have been obtained from a previous call to :func:`getstate`, and
7676
:func:`setstate` restores the internal state of the generator to what it was at
77-
the time :func:`setstate` was called.
77+
the time :func:`getstate` was called.
7878

7979

8080
.. function:: getrandbits(k)

0 commit comments

Comments
 (0)