diff options
author | Guido van Rossum <guido@python.org> | 2003-02-18 22:05:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-18 22:05:12 (GMT) |
commit | c53f009f94a5758530e6f35d8e7ed64c8efcb74b (patch) | |
tree | e39099602182ef895a382a640dc49872619d64b7 /Lib/test/test_descrtut.py | |
parent | 2b0643a95db568ef9293cc51708d72b121c5d734 (diff) | |
download | cpython-c53f009f94a5758530e6f35d8e7ed64c8efcb74b.zip cpython-c53f009f94a5758530e6f35d8e7ed64c8efcb74b.tar.gz cpython-c53f009f94a5758530e6f35d8e7ed64c8efcb74b.tar.bz2 |
Introducing __reduce_ex__, which is called with a protocol number argument
if it exists in preference over __reduce__. Now Tim can go implement this
in cPickle.c.
Diffstat (limited to 'Lib/test/test_descrtut.py')
-rw-r--r-- | Lib/test/test_descrtut.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_descrtut.py b/Lib/test/test_descrtut.py index 66cb749..5fa0897 100644 --- a/Lib/test/test_descrtut.py +++ b/Lib/test/test_descrtut.py @@ -210,6 +210,7 @@ Instead, you can get the same information from the list type: '__ne__', '__new__', '__reduce__', + '__reduce_ex__', '__repr__', '__rmul__', '__setattr__', |