We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debb138 commit d5a30a1Copy full SHA for d5a30a1
Doc/library/pickle.rst
@@ -653,8 +653,8 @@ methods:
653
654
.. note::
655
656
- If :meth:`__getstate__` returns a false value, the :meth:`__setstate__`
657
- method will not be called upon unpickling.
+ If :meth:`__reduce__` returns a state with value ``None`` at pickling,
+ the :meth:`__setstate__` method will not be called upon unpickling.
658
659
660
Refer to the section :ref:`pickle-state` for more information about how to use
0 commit comments