projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2e63a
)
fix extended iterable unpacking in Py3.1
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 27 Jun 2009 07:02:45 +0000
(09:02 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 27 Jun 2009 07:02:45 +0000
(09:02 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index abc122d7b6530b30042e8098070157a90c42e8b7..cc019e81bcbe73154c4ae20a656949e0124e98ba 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-3177,7
+3177,7
@@
class SequenceNode(ExprNode):
arg.py_result(),
target_list, target_list))
# resize the list the hard way
- code.putln("((Py
List
Object*)%s)->ob_size--;" % target_list)
+ code.putln("((Py
Var
Object*)%s)->ob_size--;" % target_list)
code.put_gotref(arg.py_result())
coerced_arg.generate_evaluation_code(code)