summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-04 03:22:53 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-04 03:22:53 (GMT)
commite0734e7dc0dcccc91ed657191b804b3a846ad3f6 (patch)
tree70cb770b9fb3fbca03fcbb1a53df10f69612a78b /Objects
parent123d5c9396a6c12d418bbdf6d7ec861537f4c199 (diff)
downloadcpython-e0734e7dc0dcccc91ed657191b804b3a846ad3f6.zip
cpython-e0734e7dc0dcccc91ed657191b804b3a846ad3f6.tar.gz
cpython-e0734e7dc0dcccc91ed657191b804b3a846ad3f6.tar.bz2
Minor fix-ups to named tuples:
* Make the _replace() method respect subclassing. * Using property() to make _fields read-only wasn't a good idea. It caused len(Point._fields) to fail. * Add note to _cast() about length checking and alternative with the star-operator.
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions