summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-09-17 00:55:00 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-09-17 00:55:00 (GMT)
commitd36a60e1e3410450d337d4de732e127e48a6a042 (patch)
tree00c975e8766388d640629ec794061a33e96c3366 /Objects/listobject.c
parentbf10c47389d13b97e75855b262e077bfa688968c (diff)
downloadcpython-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/listobject.c')
0 files changed, 0 insertions, 0 deletions