Minor formatting fix=up

This commit is contained in:
Raymond Hettinger 2012-06-09 17:27:23 -07:00
parent 3395fda928
commit 0c2c692b84
1 changed files with 1 additions and 1 deletions

View File

@ -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)