
Hi there, I think I may have found a minor documentation bug (really, typo) in the documentation for Random. See: http://docs.python.org/library/random.html#random.setstate I believe it should read: "state should have been obtained from a previous call to getstate(), and setstate() restores the internal state of the generator to what it was at the time **getstate()** was called." Apologies if the mistake is in my understanding rather than the documentation. :) Shaddi

Hello Shaddi, On Mon, Jun 4, 2012 at 7:45 PM, Shaddi Hasan <shaddih@gmail.com> wrote:
I believe it should read: "state should have been obtained from a previous call to getstate(), and setstate() restores the internal state of the generator to what it was at the time **getstate()** was called."
Thanks - i've fixed it on all the active branches. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
participants (2)
-
Sandro Tosi
-
Shaddi Hasan