projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6261b
)
Fix ticket #664
author
Vitja Makarov
<vitja.makarov@gmail.com>
Thu, 3 Mar 2011 19:41:35 +0000
(22:41 +0300)
committer
Vitja Makarov
<vitja.makarov@gmail.com>
Thu, 3 Mar 2011 19:41:35 +0000
(22:41 +0300)
Cython/Compiler/ParseTreeTransforms.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ParseTreeTransforms.py
b/Cython/Compiler/ParseTreeTransforms.py
index cc367a795b40db0f0cdfea74da76b9b5c185267d..aeacb79175afe4e9300272e460acd6ab7ac9c6e4 100644
(file)
--- a/
Cython/Compiler/ParseTreeTransforms.py
+++ b/
Cython/Compiler/ParseTreeTransforms.py
@@
-462,7
+462,7
@@
def map_starred_assignment(lhs_targets, starred_assignments, lhs_args, rhs_args)
# right side of the starred target
for i, (targets, expr) in enumerate(zip(lhs_targets[-lhs_remaining:],
- lhs_args[
-lhs_remaining
:])):
+ lhs_args[
starred + 1
:])):
targets.append(expr)
# the starred target itself, must be assigned a (potentially empty) list