diff options
author | Raymond Hettinger <python@rcn.com> | 2007-09-17 00:55:00 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2007-09-17 00:55:00 (GMT) |
commit | d36a60e1e3410450d337d4de732e127e48a6a042 (patch) | |
tree | 00c975e8766388d640629ec794061a33e96c3366 /Objects/tupleobject.c | |
parent | bf10c47389d13b97e75855b262e077bfa688968c (diff) | |
download | cpython-d36a60e1e3410450d337d4de732e127e48a6a042.zip cpython-d36a60e1e3410450d337d4de732e127e48a6a042.tar.gz cpython-d36a60e1e3410450d337d4de732e127e48a6a042.tar.bz2 |
Sync-up named tuples with the latest version of the ASPN recipe.
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.
Diffstat (limited to 'Objects/tupleobject.c')
0 files changed, 0 insertions, 0 deletions