]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make sure "del d[n]" is properly supported. Was necessary because the
authorRaymond Hettinger <python@rcn.com>
Wed, 12 May 2004 20:55:56 +0000 (20:55 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 12 May 2004 20:55:56 +0000 (20:55 +0000)
commit0e371f2cb6178de7344c97e4a546703c4bba140e
tree52fd07c90da0c60ee0c65fa991f7d27db49f00c3
parentfd3f4fb7b114e177767568da35eee2241a8eda18
Make sure "del d[n]" is properly supported.  Was necessary because the
same method that implements __setitem__ also implements __delitem__.
Also, there were several good use cases (removing items from a queue
and implementing Forth style stack ops).
Doc/lib/libcollections.tex
Lib/test/test_deque.py
Modules/collectionsmodule.c