Commit 43c75828 authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent f6cb1da9
...@@ -97,7 +97,7 @@ class DictIterTransform(Visitor.VisitorTransform): ...@@ -97,7 +97,7 @@ class DictIterTransform(Visitor.VisitorTransform):
if len(node.target.args) == 2: if len(node.target.args) == 2:
key_target, value_target = node.target.args key_target, value_target = node.target.args
else: else:
# FIXME ... # unusual case that may or may not lead to an error
return node return node
else: else:
tuple_target = node.target tuple_target = node.target
...@@ -163,7 +163,8 @@ class DictIterTransform(Visitor.VisitorTransform): ...@@ -163,7 +163,8 @@ class DictIterTransform(Visitor.VisitorTransform):
pos = dict_obj.pos, pos = dict_obj.pos,
type = PyrexTypes.c_bint_type, type = PyrexTypes.c_bint_type,
function = ExprNodes.NameNode( 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, type = self.PyDict_Next_func_type,
entry = self.PyDict_Next_entry), entry = self.PyDict_Next_entry),
args = [dict_obj, pos_temp_addr, args = [dict_obj, pos_temp_addr,
......
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