From 43c75828823dd06d26507b70a9ebb4d81b65c0e4 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 18 Nov 2008 19:57:22 +0100 Subject: [PATCH] cleanup --- Cython/Compiler/Optimize.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 49f7323a..2b3fcde3 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -97,7 +97,7 @@ class DictIterTransform(Visitor.VisitorTransform): if len(node.target.args) == 2: key_target, value_target = node.target.args else: - # FIXME ... + # unusual case that may or may not lead to an error return node else: tuple_target = node.target @@ -163,7 +163,8 @@ class DictIterTransform(Visitor.VisitorTransform): pos = dict_obj.pos, type = PyrexTypes.c_bint_type, function = ExprNodes.NameNode( - pos=dict_obj.pos, name=self.PyDict_Next_name, + pos = dict_obj.pos, + name = self.PyDict_Next_name, type = self.PyDict_Next_func_type, entry = self.PyDict_Next_entry), args = [dict_obj, pos_temp_addr, -- 2.26.2