[Python-checkins] r55449 - python/trunk/Lib/collections.py

raymond.hettinger python-checkins at python.org
Sat May 19 03:50:18 CEST 2007


Author: raymond.hettinger
Date: Sat May 19 03:50:11 2007
New Revision: 55449
Modified:
 python/trunk/Lib/collections.py
Log:
Fix beginner mistake -- don't mix spaces and tabs.
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py	(original)
+++ python/trunk/Lib/collections.py	Sat May 19 03:50:11 2007
@@ -36,7 +36,7 @@
 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]


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /