Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add usage note | Raymond Hettinger | 2007-12-14 | 1 | -2/+10 |
| | |||||
* | Faster and simpler _replace() method | Raymond Hettinger | 2007-12-14 | 1 | -1/+1 |
| | |||||
* | Add line spacing for readability | Raymond Hettinger | 2007-12-14 | 1 | -1/+8 |
| | |||||
* | Cleaner method naming convention | Raymond Hettinger | 2007-12-14 | 1 | -15/+15 |
| | |||||
* | Simplify implementation of __replace__() | Raymond Hettinger | 2007-12-13 | 1 | -1/+1 |
| | |||||
* | Fix signature in example | Raymond Hettinger | 2007-11-17 | 1 | -1/+1 |
| | |||||
* | Add example for use cases requiring default values. | Raymond Hettinger | 2007-11-15 | 1 | -0/+9 |
| | |||||
* | Example of multiple replacements. | Raymond Hettinger | 2007-11-15 | 1 | -2/+2 |
| | |||||
* | Fixup example in docs. | Raymond Hettinger | 2007-11-15 | 1 | -1/+1 |
| | |||||
* | Small improvement to the implementation of __replace__(). | Raymond Hettinger | 2007-11-15 | 1 | -1/+1 |
| | |||||
* | Accept Issac Morland's suggestion for __replace__ to allow multiple replacements | Raymond Hettinger | 2007-11-15 | 1 | -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 tests | Raymond Hettinger | 2007-10-16 | 1 | -3/+7 |
| | |||||
* | Accept Jim Jewett's api suggestion to use None instead of -1 to indicate ↵ | Raymond Hettinger | 2007-10-10 | 1 | -1/+1 |
| | | | | unbounded deques. | ||||
* | Eliminate camelcase function name | Raymond Hettinger | 2007-10-08 | 1 | -18/+26 |
| | |||||
* | Missed a line in the docs | Raymond Hettinger | 2007-10-08 | 1 | -1/+1 |
| | |||||
* | Add comments to NamedTuple code. | Raymond Hettinger | 2007-10-08 | 1 | -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 Hettinger | 2007-10-05 | 1 | -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 nits | Raymond Hettinger | 2007-09-20 | 1 | -7/+11 |
| | |||||
* | Cleanup docs for NamedTuple. | Raymond Hettinger | 2007-09-18 | 1 | -72/+71 |
| | |||||
* | Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people ↵ | Raymond Hettinger | 2007-09-18 | 1 | -1/+18 |
| | | | | can see how it works. | ||||
* | Sync-up named tuples with the latest version of the ASPN recipe. | Raymond Hettinger | 2007-09-17 | 1 | -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 Summerfield | 2007-08-30 | 1 | -1/+5 |
| | |||||
* | Move the 2.6 reST doc tree in place. | Georg Brandl | 2007-08-15 | 1 | -0/+414 |