From 6059a2ac77c6a4a3382437ef05cd37e75b34f402 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 4 Oct 2009 17:36:49 +0200 Subject: [PATCH] fix left-over from earlier commit --- Cython/Compiler/Optimize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.26.2