diff options
author | Guido van Rossum <guido@python.org> | 2001-09-28 18:13:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-28 18:13:29 (GMT) |
commit | 6cef6d5d62f083ada715da3610ce12147b625ee2 (patch) | |
tree | de5a51234c4e4675698d20abc03bd09c1b1ee0fc /Lib/weakref.py | |
parent | 19405a4a2a68570cae67501935adea3f375f84bf (diff) | |
download | cpython-6cef6d5d62f083ada715da3610ce12147b625ee2.zip cpython-6cef6d5d62f083ada715da3610ce12147b625ee2.tar.gz cpython-6cef6d5d62f083ada715da3610ce12147b625ee2.tar.bz2 |
Changes to copy() and deepcopy() in copy.py to support __reduce__ as a
fallback for objects that are neither supported by our dispatch table
nor have a __copy__ or __deepcopy__ method.
Changes to _reduce() in copy_reg.py to support reducing objects that
don't have a __dict__ -- copy.copy(complex()) now invokes _reduce().
Add tests for copy.copy() and copy.deepcopy() to test_regrtest.py.
Diffstat (limited to 'Lib/weakref.py')
0 files changed, 0 insertions, 0 deletions