From: Stefan Behnel Date: Sun, 4 Oct 2009 15:36:49 +0000 (+0200) Subject: fix left-over from earlier commit X-Git-Tag: 0.12.alpha0~182^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6059a2ac77c6a4a3382437ef05cd37e75b34f402;p=cython.git fix left-over from earlier commit --- diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index f03b4374..73c855e9 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -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 \