]> granicus.if.org Git - python/commit
In the module docstring, clarify that this is used to register pickle
authorFred Drake <fdrake@acm.org>
Wed, 11 Oct 2000 22:16:45 +0000 (22:16 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 11 Oct 2000 22:16:45 +0000 (22:16 +0000)
commit78a6a369641d53c4085eb167af0d1cef65c129fe
tree8c5726dacf2782b86b1618407027959927705849
parent06fdd2d9e86e4f97be482314f2ac0b2842ba8600
In the module docstring, clarify that this is used to register pickle
support for extension types, not classes.

pickle():  If the type is a class or if the reduction function is not
           callable, raise a TypeError.

constructor():  If the constructor is not callable, raise TypeError.

This (partially) closes SourceForge patch #101859.
Lib/copy_reg.py