Fix crucial typo found by Niki Spahiev.
This commit is contained in:
parent
90133d7f6a
commit
6b1fc6f8c0
|
@ -261,7 +261,7 @@ The __getstate__ and __setstate__ methods
|
||||||
well as for new-style classes for which no __reduce__ exists.
|
well as for new-style classes for which no __reduce__ exists.
|
||||||
|
|
||||||
When __reduce__ exists, __getstate__ is not called (unless your
|
When __reduce__ exists, __getstate__ is not called (unless your
|
||||||
__reduce__ implementation calls it), but __getstate__ will be
|
__reduce__ implementation calls it), but __setstate__ will be
|
||||||
called with the third item from the tuple returned by __reduce__,
|
called with the third item from the tuple returned by __reduce__,
|
||||||
if not None.
|
if not None.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue