Minor formatting fix=up
This commit is contained in:
parent
3395fda928
commit
0c2c692b84
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue