fix left-over from earlier commit
authorStefan Behnel <scoder@users.berlios.de>
Sun, 4 Oct 2009 15:36:49 +0000 (17:36 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 4 Oct 2009 15:36:49 +0000 (17:36 +0200)
Cython/Compiler/Optimize.py

index f03b4374f0357665823a0180755d731dc5dc79b8..73c855e99d99b7ea22691e800cd99403a81da0c5 100644 (file)
@@ -635,7 +635,7 @@ class OptimizeBuiltinCalls(Visitor.VisitorTransform):
                 arg, "PyExc_TypeError", "'NoneType' is not iterable")
             return ExprNodes.PythonCapiCallNode(
                 node.pos, "PyDict_Copy", self.PyDict_Copy_func_type,
-                args = [dict_arg],
+                args = [arg],
                 is_temp = node.is_temp
                 )
         elif isinstance(arg, ExprNodes.ComprehensionNode) and \