From 0288cf020ebfa9026bb8a30f5708b44bc8a82feb Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 11 Apr 2014 11:53:00 +0000 Subject: py: Implement compiling of *-expr within parenthesis. --- tests/bytecode/mp-tests/assign2.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'tests/bytecode') diff --git a/tests/bytecode/mp-tests/assign2.py b/tests/bytecode/mp-tests/assign2.py index f55a3221d..cb03593d2 100644 --- a/tests/bytecode/mp-tests/assign2.py +++ b/tests/bytecode/mp-tests/assign2.py @@ -6,5 +6,16 @@ a, *b, c = d [*a] = b [*a,] = b [a, *b] = c -#[a, *b,] = c -#[a, *b, c] = d +[a, *b,] = c +[a, *b, c] = d + +(*a,) = x +(*a, b) = x +(a, *b) = x +(*a, b, c) = x +(a, *b, c) = x +(a, b, *c) = x +(*a, b, c, d) = x +(a, *b, c, d) = x +(a, b, *c, d) = x +(a, b, c, *d) = x -- cgit v1.2.3