summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-05-19 01:50:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-05-19 01:50:11 (GMT)
commitf3241a372785999bae49a87a5e1e344312567f9e (patch)
tree75aec6b4c69ed74b5ea2493785fb810224ef8eaf /Lib
parent5a41daf096d7fe7cb8d7624640cdc6bec74003c1 (diff)
downloadcpython-f3241a372785999bae49a87a5e1e344312567f9e.zip
cpython-f3241a372785999bae49a87a5e1e344312567f9e.tar.gz
cpython-f3241a372785999bae49a87a5e1e344312567f9e.tar.bz2
Fix beginner mistake -- don't mix spaces and tabs.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/collections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index adba81c..fa9a9a0 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]