[3.12] gh-56499: Update the pickle library's note section for the __setstate__ function (GH-101062) (GH-115597)

(cherry picked from commit d5a30a1777)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
This commit is contained in:
Miss Islington (bot) 2024-02-17 13:57:22 +01:00 committed by GitHub
parent de347c0207
commit 7218b81614
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -645,8 +645,8 @@ methods:
.. note:: .. note::
If :meth:`__getstate__` returns a false value, the :meth:`__setstate__` If :meth:`__reduce__` returns a state with value ``None`` at pickling,
method will not be called upon unpickling. the :meth:`__setstate__` method will not be called upon unpickling.
Refer to the section :ref:`pickle-state` for more information about how to use Refer to the section :ref:`pickle-state` for more information about how to use