summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
Commit message (Collapse)AuthorAgeFilesLines
* #7586: fix typo.Georg Brandl2009-12-281-1/+1
|
* #7388: "python".capitalize() in the DocEzio Melotti2009-12-191-1/+1
|
* Add a reverse() method to collections.deque().Raymond Hettinger2009-12-101-0/+5
|
* Show example of how to make a sorted dictionaryRaymond Hettinger2009-11-101-0/+22
|
* builtin -> built-in.Georg Brandl2009-07-261-1/+1
|
* Fix field name conflicts for named tuples.Raymond Hettinger2009-05-271-6/+6
|
* Fix-up moving average example.Raymond Hettinger2009-05-221-5/+3
|
* Note that ordered dictionaries work with reversed().Raymond Hettinger2009-05-191-0/+3
|
* Make the doctests in the docs pass, except for those in the turtle module.Georg Brandl2009-04-281-3/+3
|
* Fix the count of datatypes.Raymond Hettinger2009-04-101-1/+1
|
* Add note on using keyword arguments with OrderedDict.Raymond Hettinger2009-04-091-0/+4
|
* Update docs for namedtuple's renaming change.Raymond Hettinger2009-04-021-1/+1
|
* Improve examples for collections.deque()Raymond Hettinger2009-03-311-25/+24
|
* Add MutableSet example.Raymond Hettinger2009-03-201-1/+6
|
* * Add clearer comment to initialization code.Raymond Hettinger2009-03-191-2/+10
| | | | | | * Add optional argument to popitem() -- modeled after Anthon van der Neut's C version. * Fix method markup in docs.
* For collections.deque() objects, expose the maxlen parameter as a read-only ↵Raymond Hettinger2009-03-101-0/+9
| | | | attribute.
* Fix markup.Raymond Hettinger2009-03-031-1/+1
|
* Backport 70106: Add OrderedDict support to collections.namedtuple().Raymond Hettinger2009-03-031-5/+9
|
* Backport PEP 372: OrderedDict()Raymond Hettinger2009-03-031-2/+30
|
* Clarify Counter() docs.Raymond Hettinger2009-02-251-8/+6
|
* Restore Py2.x version of sample call to super().Raymond Hettinger2009-02-251-5/+6
|
* Fix-up intro paragraph for collections docs.Raymond Hettinger2009-02-171-13/+13
|
* Clean-up named tuple docs.Raymond Hettinger2009-02-111-4/+5
|
* Issue 1818: collections.namedtuple() to support automatic renaming of ↵Raymond Hettinger2009-02-101-1/+9
| | | | invalid fieldnames.
* Tweak the docs for Counter() objects.Raymond Hettinger2009-02-041-4/+4
|
* Minor doc fixups.Raymond Hettinger2009-02-041-1/+1
|
* Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the ↵Raymond Hettinger2009-01-281-15/+13
| | | | table by taking out inherited requirements for abstract methods.
* Promote combinations_with_replacement() from a recipe to a regular itertool.Raymond Hettinger2009-01-271-2/+1
|
* Tweak column alignment for collections docs.Raymond Hettinger2009-01-271-33/+26
|
* Promote compress() from a recipe to being a regular itertool.Raymond Hettinger2009-01-251-1/+1
|
* More doc tweaks.Raymond Hettinger2009-01-221-15/+12
|
* Tighten-up the docs for Counter().Raymond Hettinger2009-01-211-25/+21
|
* Simplify explanation of multiset operations by removing restrictions on ↵Raymond Hettinger2009-01-211-14/+6
| | | | negative inputs.
* Beautify and cleanup the references section.Raymond Hettinger2009-01-201-12/+19
|
* Fix typos.Raymond Hettinger2009-01-201-3/+3
|
* Don't disrupt automatic url target name generationRaymond Hettinger2009-01-201-15/+1
| | | | | | | | | | with manually specified, conflicting names. Before: http://docs.python.org/dev/library/collections.html#id1 After: http://docs.python.org/dev/library/collections.html#counter-objects
* Build-outs for Counter() class:Raymond Hettinger2009-01-201-4/+33
| | | | | | * Constructor and update() support keyword args (like their dict counterparts). * The 'del' statement no longer raises KeyError for missing values. * Add multiset operations: __add__, __sub__, __and__, __or__.
* Fix-up indentation of sample code blocks for namedtuple mthod definitions.Raymond Hettinger2009-01-141-5/+3
|
* Minor doc tweaks.Raymond Hettinger2009-01-141-19/+17
|
* Add table of idioms/patterns for using Counter objects.Raymond Hettinger2009-01-131-11/+21
| | | | | | | Improve the appearance and flow of the References section -- it used to have a box around it that wasn't distinct from the preceding code boxes and it had a weird bolding pattern and hanging indents that made the section disproportionately large.
* Minor documentation tweaks and simpler update() example.Raymond Hettinger2009-01-131-15/+12
|
* Simplify Counter() API. Replace items keyword argumentRaymond Hettinger2009-01-131-16/+16
| | | | | | | with a mapping. Makes Counter() idempotent, makes update() API the same as Counter.__init__(), makes a more readable repr, makes the API more dict-like, and allows Steven Bethard's update() example to work.
* Issue 1696199: Add collections.Counter().Raymond Hettinger2009-01-121-0/+128
|
* Remove tabs from the documentation.Georg Brandl2009-01-031-3/+3
|
* Remove trailing whitespace.Georg Brandl2009-01-031-10/+10
|
* Fix typo.Georg Brandl2008-11-241-1/+1
|
* #4392: fix parameter name.Georg Brandl2008-11-231-4/+4
|
* document that deque indexing is O(n) #4123Benjamin Peterson2008-10-161-1/+3
|
* usageSkip Montanaro2008-09-171-1/+1
|
* Add missing ABCs to list.Georg Brandl2008-07-081-36/+44
|