diff options
author | Raymond Hettinger <python@rcn.com> | 2012-06-10 00:27:23 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2012-06-10 00:27:23 (GMT) |
commit | 0c2c692b8481efc0c4b35b9b422dafb5993c3b60 (patch) | |
tree | 17eab937231f51146c61c6ba19cba6357f0d6c19 /Lib/collections.py | |
parent | 3395fda9284a5917e1e9603b43ed353d9c874802 (diff) | |
download | cpython-0c2c692b8481efc0c4b35b9b422dafb5993c3b60.zip cpython-0c2c692b8481efc0c4b35b9b422dafb5993c3b60.tar.gz cpython-0c2c692b8481efc0c4b35b9b422dafb5993c3b60.tar.bz2 |
Minor formatting fix=up
Diffstat (limited to 'Lib/collections.py')
-rw-r--r-- | Lib/collections.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py index 3471c89..ba6d7ca 100644 --- a/Lib/collections.py +++ b/Lib/collections.py @@ -337,7 +337,7 @@ def namedtuple(typename, field_names, verbose=False, rename=False): seen = set() for name in field_names: if name.startswith('_') and not rename: - raise ValueError('Field names cannot start with an underscore:' + raise ValueError('Field names cannot start with an underscore: ' '%r' % name) if name in seen: raise ValueError('Encountered duplicate field name: %r' % name) |