diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-11 22:16:45 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-11 22:16:45 (GMT) |
commit | 78a6a369641d53c4085eb167af0d1cef65c129fe (patch) | |
tree | 8c5726dacf2782b86b1618407027959927705849 /Lib/test/test_copy_reg.py | |
parent | 06fdd2d9e86e4f97be482314f2ac0b2842ba8600 (diff) | |
download | cpython-78a6a369641d53c4085eb167af0d1cef65c129fe.zip cpython-78a6a369641d53c4085eb167af0d1cef65c129fe.tar.gz cpython-78a6a369641d53c4085eb167af0d1cef65c129fe.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_copy_reg.py')
0 files changed, 0 insertions, 0 deletions