[docs] [issue35933] python doc does not say that the state kwarg in Pickler.save_reduce can be a tuple (and not only a dict)

Serhiy Storchaka report at bugs.python.org
Wed Feb 20 10:46:30 EST 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

See also issue26579 which propose to add a function or method for standard implementation of __getstate__ and use it consistently in custom __getstate__ implementations. I am not sure about API yet.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35933>
_______________________________________


More information about the docs mailing list