From: Stefan Behnel Date: Thu, 11 Nov 2010 22:19:13 +0000 (+0100) Subject: fix TupleNode typing as tuple_type instead of py_object_type X-Git-Tag: 0.14.alpha0~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=64d2bdeeea913fd66bf839c0de66cd8cdbec26a4;p=cython.git fix TupleNode typing as tuple_type instead of py_object_type --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 988048bd..1434af09 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -3888,7 +3888,8 @@ class TupleNode(SequenceNode): self.is_literal = 1 else: SequenceNode.analyse_types(self, env, skip_children) - + self.type = tuple_type + def calculate_result_code(self): if len(self.args) > 0: error(self.pos, "Positive length tuples must be constructed.")