From 106c25034a97b268e513d0917b3cbf699b1695b5 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sun, 12 Aug 2012 15:11:58 +0200 Subject: [PATCH] it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@ --- Doc/library/random.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/random.rst b/Doc/library/random.rst index de98c040d4..29f0e6a740 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -90,7 +90,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. .. versionadded:: 2.1 -- 2.50.1