Commit 6059a2ac authored by Stefan Behnel's avatar Stefan Behnel

fix left-over from earlier commit

parent ee0f9802
...@@ -635,7 +635,7 @@ class OptimizeBuiltinCalls(Visitor.VisitorTransform): ...@@ -635,7 +635,7 @@ class OptimizeBuiltinCalls(Visitor.VisitorTransform):
arg, "PyExc_TypeError", "'NoneType' is not iterable") arg, "PyExc_TypeError", "'NoneType' is not iterable")
return ExprNodes.PythonCapiCallNode( return ExprNodes.PythonCapiCallNode(
node.pos, "PyDict_Copy", self.PyDict_Copy_func_type, node.pos, "PyDict_Copy", self.PyDict_Copy_func_type,
args = [dict_arg], args = [arg],
is_temp = node.is_temp is_temp = node.is_temp
) )
elif isinstance(arg, ExprNodes.ComprehensionNode) and \ elif isinstance(arg, ExprNodes.ComprehensionNode) and \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment