mirror of https://github.com/python/cpython
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
This commit is contained in:
parent
018e14dfe9
commit
106c25034a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue