summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | (suprisingly, this simplifies the signature, improves clarity, and is comparably fast). Update the docs to reflect a previous change to the function name. Add an example to the docs showing how to override the default __repr__ method.
* 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 ↵Raymond Hettinger2007-10-101-1/+1
| | | | unbounded deques.
* 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
| | | | | Let the field spec be either a string or a non-string sequence (suggested by Martin Blais with use cases). Improve the error message in the case of a SyntaxError (caused by a duplicate field name).
* Add __asdict__() to NamedTuple and refine the docs.Raymond Hettinger2007-10-051-45/+48
| | | | | | Add maxlen support to deque() and fixup docs. Partially fix __reduce__(). The None as a third arg was no longer supported. Still needs work on __reduce__() to handle recursive inputs.
* Fit nitsRaymond Hettinger2007-09-201-7/+11
|
* Cleanup docs for NamedTuple.Raymond Hettinger2007-09-181-72/+71
|
* Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people ↵Raymond Hettinger2007-09-181-1/+18
| | | | can see how it works.
* Sync-up named tuples with the latest version of the ASPN recipe.Raymond Hettinger2007-09-171-3/+35
| | | | | | | Allows optional commas in the field-name spec (help when named tuples are used in conjuction with sql queries). Adds the __fields__ attribute for introspection and to support conversion to dictionary form. Adds a __replace__() method similar to str.replace() but using a named field as a target. Clean-up spelling and presentation in doc-strings.
* Added more cross-references.Mark Summerfield2007-08-301-1/+5
|
* Move the 2.6 reST doc tree in place.Georg Brandl2007-08-151-0/+414