Documentation
pickle.doc doesn't describe how __getstate__ and __setstate__ can be used for custom pickling, although this is an important part of how the module works.
Split from #138676 which attempted to cover both issues; copy.__doc__ claims that pickle.__doc__ explains this, and it doesn't.
Documentation
pickle.doc doesn't describe how
__getstate__and__setstate__can be used for custom pickling, although this is an important part of how the module works.Split from #138676 which attempted to cover both issues;
copy.__doc__claims thatpickle.__doc__explains this, and it doesn't.