From: Raymond Hettinger Date: Sat, 19 May 2007 01:50:11 +0000 (+0000) Subject: Fix beginner mistake -- don't mix spaces and tabs. X-Git-Tag: v2.6a1~1728 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3241a372785999bae49a87a5e1e344312567f9e;p=python Fix beginner mistake -- don't mix spaces and tabs. --- diff --git a/Lib/collections.py b/Lib/collections.py index adba81c879..fa9a9a0f8a 100644 --- a/Lib/collections.py +++ b/Lib/collections.py @@ -36,7 +36,7 @@ def NamedTuple(typename, s): return '%(typename)s(%(reprtxt)s)' %% self ''' % locals() for i, name in enumerate(field_names): - template += '\t%s = property(itemgetter(%d))\n' % (name, i) + template += '\n %s = property(itemgetter(%d))\n' % (name, i) m = dict(itemgetter=_itemgetter) exec template in m result = m[typename]