From 329fe5e86694c14d911e5582ffb37ba65e7a756b Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 28 Nov 2008 08:47:27 +0100 Subject: [PATCH] fix type of AsTupleNode to tuple_type --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2