From 42091eacddc11bbbdf76ca243c62a278cf21f02c Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Thu, 3 Mar 2011 22:41:35 +0300 Subject: [PATCH] Fix ticket #664 --- Cython/Compiler/ParseTreeTransforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index cc367a79..aeacb791 100644 --- 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 -- 2.26.2