summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
Commit message (Expand)AuthorAgeFilesLines
* #2502: add example how to do enum types with named tuples.Georg Brandl2008-03-281-0/+10
* Make collections' doctests executable.Georg Brandl2008-03-221-43/+51
* A lot more typo fixes by Ori Avtalion.Georg Brandl2008-02-221-2/+2
* Backport ABC docsRaymond Hettinger2008-02-111-8/+120
* Removed an unnecessary and confusing paragraph from the namedtuple docs.Raymond Hettinger2008-01-271-10/+1
* Better variable name in an example.Raymond Hettinger2008-01-181-2/+2
* Minor wordsmithing.Raymond Hettinger2008-01-161-2/+1
* Fix-up half-written paragraph in the docsRaymond Hettinger2008-01-151-7/+3
* Refactor if/elif chain for clarity and speed. Remove dependency on subclasse...Raymond Hettinger2008-01-151-0/+8
* Run doctests on the collections moduleRaymond Hettinger2008-01-111-1/+1
* Neaten-up the named tuple docsRaymond Hettinger2008-01-101-7/+7
* Clarify how to add a field to a named tuple.Raymond Hettinger2008-01-101-1/+1
* Examples for named tuple subclassing should include __slots__Raymond Hettinger2008-01-101-3/+4
* Fix typoRaymond Hettinger2008-01-091-1/+1
* Syntax highlighting only works when >>> lines are accompanied by ... linesRaymond Hettinger2008-01-091-8/+8
* Docs on named tuple's naming conventions and limits of subclassingRaymond Hettinger2008-01-081-1/+7
* Documentation nits.Raymond Hettinger2008-01-071-5/+5
* Use get() instead of pop() for the optimized version of _replace().Raymond Hettinger2008-01-071-1/+1
* Minor markup fixRaymond Hettinger2008-01-071-1/+1
* Cleanup named tuple subclassing example.Raymond Hettinger2008-01-071-10/+12
* Restore "somenamedtuple" as the "class" for named tuple attrs.Georg Brandl2008-01-071-11/+7
* Clean up markup.Georg Brandl2008-01-071-7/+5
* Add another named tuple subclassing example.Raymond Hettinger2008-01-071-0/+8
* Cleanup subclassing example to more clearly show fixed-width print format.Raymond Hettinger2008-01-071-5/+5
* Add subclassing example to docs for named tuples.Raymond Hettinger2008-01-071-6/+13
* Small code simplification. Forgot that classmethods can be called from intan...Raymond Hettinger2008-01-061-1/+1
* Add error-checking to namedtuple's _replace() method.Raymond Hettinger2008-01-051-1/+4
* Improve namedtuple's _cast() method with a docstring, new name, and error-che...Raymond Hettinger2008-01-051-16/+16
* Minor fix-ups to named tuples:Raymond Hettinger2008-01-041-10/+13
* Some cleanup in the docs.Georg Brandl2007-12-291-1/+1
* Users demand iterable input for named tuples. The author capitulates.Raymond Hettinger2007-12-181-16/+21
* Simplify and speedup _asdict() for named tuples.Raymond Hettinger2007-12-181-2/+2
* Add more namedtuple() test cases. Neaten the code and comments.Raymond Hettinger2007-12-181-3/+5
* Add usage noteRaymond Hettinger2007-12-141-2/+10
* Faster and simpler _replace() methodRaymond Hettinger2007-12-141-1/+1
* Add line spacing for readabilityRaymond Hettinger2007-12-141-1/+8
* Cleaner method naming conventionRaymond Hettinger2007-12-141-15/+15
* Simplify implementation of __replace__()Raymond Hettinger2007-12-131-1/+1
* Fix signature in exampleRaymond Hettinger2007-11-171-1/+1
* Add example for use cases requiring default values.Raymond Hettinger2007-11-151-0/+9
* Example of multiple replacements.Raymond Hettinger2007-11-151-2/+2
* Fixup example in docs.Raymond Hettinger2007-11-151-1/+1
* Small improvement to the implementation of __replace__().Raymond Hettinger2007-11-151-1/+1
* Accept Issac Morland's suggestion for __replace__ to allow multiple replacementsRaymond Hettinger2007-11-151-13/+24
* More docs, error messages, and testsRaymond Hettinger2007-10-161-3/+7
* Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbo...Raymond Hettinger2007-10-101-1/+1
* Eliminate camelcase function nameRaymond Hettinger2007-10-081-18/+26
* Missed a line in the docsRaymond Hettinger2007-10-081-1/+1
* Add comments to NamedTuple code.Raymond Hettinger2007-10-081-3/+5
* Add __asdict__() to NamedTuple and refine the docs.Raymond Hettinger2007-10-051-45/+48