projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eec9f0f
)
fix TupleNode typing as tuple_type instead of py_object_type
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Nov 2010 22:19:13 +0000
(23:19 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Nov 2010 22:19:13 +0000
(23:19 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 988048bd1c00a81af1bd15eae6ae4ffb93a1d498..1434af09fb2d144c5774b0c7ddfe2d3fd90f9e05 100755
(executable)
--- 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.")