summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_copy_reg.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-11 22:16:45 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-11 22:16:45 (GMT)
commit78a6a369641d53c4085eb167af0d1cef65c129fe (patch)
tree8c5726dacf2782b86b1618407027959927705849 /Lib/test/test_copy_reg.py
parent06fdd2d9e86e4f97be482314f2ac0b2842ba8600 (diff)
downloadcpython-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