diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 5aa126270ad..3a7f131fdbb 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -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)