From: Stefan Behnel Date: Fri, 28 Nov 2008 07:47:27 +0000 (+0100) Subject: fix type of AsTupleNode to tuple_type X-Git-Tag: 0.11-beta~194 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=329fe5e86694c14d911e5582ffb37ba65e7a756b;p=cython.git fix type of AsTupleNode to tuple_type --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index bcd4b3e7..ed69fbc1 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -2376,7 +2376,7 @@ class AsTupleNode(ExprNode): def analyse_types(self, env): self.arg.analyse_types(env) self.arg = self.arg.coerce_to_pyobject(env) - self.type = py_object_type + self.type = tuple_type self.gil_check(env) self.is_temp = 1