commit | 2115bbc4da683e6878b361a80c74203a2559e61d | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Oct 08 09:14:28 2007 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Oct 08 09:14:28 2007 +0000 |
tree | 6336a03ba5981375fed9fb7d88f287535a0fcf57 | |
parent | a970c2216645a86b532f68bfb93b8ec9da858b0d [diff] |
Add comments to NamedTuple code. 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).