diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-01 23:16:22 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-01 23:16:22 (GMT) |
commit | 0a4977c2f3b8b3cd80f326f44e87076b2578b1b6 (patch) | |
tree | 25342a34c69da22a41fe9964852de92ab6c7ff8b /Lib/test/test_cpickle.py | |
parent | 786ea6bc23c26a0ec98d5cbc80633615f9fa8cb1 (diff) | |
download | cpython-0a4977c2f3b8b3cd80f326f44e87076b2578b1b6.zip cpython-0a4977c2f3b8b3cd80f326f44e87076b2578b1b6.tar.gz cpython-0a4977c2f3b8b3cd80f326f44e87076b2578b1b6.tar.bz2 |
Replace left(), right(), and __reversed__() with the more general purpose
__getitem__() and __setitem__().
Simplifies the API, reduces the code size, adds flexibility, and makes
deques work with bisect.bisect(), random.shuffle(), and random.sample().
Diffstat (limited to 'Lib/test/test_cpickle.py')
0 files changed, 0 insertions, 0 deletions