fix type of AsTupleNode to tuple_type
authorStefan Behnel <scoder@users.berlios.de>
Fri, 28 Nov 2008 07:47:27 +0000 (08:47 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 28 Nov 2008 07:47:27 +0000 (08:47 +0100)
Cython/Compiler/ExprNodes.py

index bcd4b3e71d5a0fcbd22ceb243b7d84e2aac829bd..ed69fbc1c3461e61acfe6a47e00cd68340164954 100644 (file)
@@ -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