Commit 42091eac authored by Vitja Makarov's avatar Vitja Makarov

Fix ticket #664

parent fc6261b9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment