[Python-checkins] r73388 - sandbox/trunk/2to3/lib2to3/fixes/fix_dict.py

benjamin.peterson python-checkins at python.org
Fri Jun 12 16:44:29 CEST 2009


Author: benjamin.peterson
Date: Fri Jun 12 16:44:29 2009
New Revision: 73388
Log:
fix typo in last fix
Modified:
 sandbox/trunk/2to3/lib2to3/fixes/fix_dict.py
Modified: sandbox/trunk/2to3/lib2to3/fixes/fix_dict.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/fixes/fix_dict.py	(original)
+++ sandbox/trunk/2to3/lib2to3/fixes/fix_dict.py	Fri Jun 12 16:44:29 2009
@@ -66,7 +66,7 @@
 new = pytree.Node(syms.power, args)
 if not special:
 new.prefix = u""
- new = Call(u"iter" if isiter else u"list"), [new])
+ new = Call(Name(u"iter" if isiter else u"list"), [new])
 if tail:
 new = pytree.Node(syms.power, [new] + tail)
 new.prefix = node.prefix


More information about the Python-checkins mailing list

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