| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix typo (noticed in Raymond's r54053 commit adding NamedTuple | Andrew M. Kuchling | 2007-03-01 | 1 | -1/+1 |
| | | |||||
| * | Provide an example of defaultdict with non-zero constant factory function. | Raymond Hettinger | 2007-02-19 | 1 | -8/+12 |
| | | |||||
| * | Typo fixes | George Yoshida | 2006-04-22 | 1 | -2/+2 |
| | | |||||
| * | Typo fix | Andrew M. Kuchling | 2006-04-14 | 1 | -1/+1 |
| | | |||||
| * | Typo fixes | Andrew M. Kuchling | 2006-04-14 | 1 | -2/+2 |
| | | |||||
| * | Add section headers and examples. | Raymond Hettinger | 2006-03-25 | 1 | -2/+82 |
| | | |||||
| * | - Patch 1433928: | Guido van Rossum | 2006-02-25 | 1 | -3/+47 |
| | | | | | | | | | - The copy module now "copies" function objects (as atomic objects). - dict.__getitem__ now looks for a __missing__ hook before raising KeyError. - Added a new type, defaultdict, to the collections module. This uses the new __missing__ hook behavior added to dict (see above). | ||||
| * | Add a remove() method to collections.deque objects. | Raymond Hettinger | 2005-03-18 | 1 | -0/+6 |
| | | |||||
| * | Minor wording and spacing nits. | Raymond Hettinger | 2004-06-12 | 1 | -9/+7 |
| | | |||||
| * | Make sure "del d[n]" is properly supported. Was necessary because the | Raymond Hettinger | 2004-05-12 | 1 | -11/+8 |
| | | | | | | | 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). | ||||
| * | Add more examples. | Raymond Hettinger | 2004-05-09 | 1 | -1/+52 |
| | | |||||
| * | Add an example application to the docs. | Raymond Hettinger | 2004-04-30 | 1 | -2/+31 |
| | | |||||
| * | Replace left(), right(), and __reversed__() with the more general purpose | Raymond Hettinger | 2004-03-01 | 1 | -15/+6 |
| | | | | | | | | __getitem__() and __setitem__(). Simplifies the API, reduces the code size, adds flexibility, and makes deques work with bisect.bisect(), random.shuffle(), and random.sample(). | ||||
| * | Improvements to collections.deque(): | Raymond Hettinger | 2004-02-29 | 1 | -7/+22 |
| | | | | | | | | | * Add doctests for the examples in the library reference. * Add two methods, left() and right(), modeled after deques in C++ STL. * Apply the new method to asynchat.py. * Add comparison operators to make deques more substitutable for lists. * Replace the LookupErrors with IndexErrors to more closely match lists. | ||||
| * | * Incorporate Skip's suggestions for documentation (explain the word deque | Raymond Hettinger | 2004-02-07 | 1 | -22/+42 |
| | | | | | | comes from and show the differences from lists). * Add a rotate() method. | ||||
| * | * Fix ref counting in extend() and extendleft(). | Raymond Hettinger | 2004-02-07 | 1 | -1/+3 |
| | | | | | * Let deques support reversed(). | ||||
| * | Have deques support high volume loads. | Raymond Hettinger | 2004-02-06 | 1 | -2/+18 |
| | | |||||
| * | Add documentation for collections.deque(). | Raymond Hettinger | 2004-01-29 | 1 | -0/+88 |
