From 1bd17de4b782487725a611acb407f64fa41ae257 Mon Sep 17 00:00:00 2001 From: Krzysztof Blazewicz Date: Sat, 4 Mar 2017 12:37:26 +0100 Subject: [PATCH] tests/basics/unpack1.py: Test if *a, = b copies b when b is a list. --- tests/basics/unpack1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basics/unpack1.py b/tests/basics/unpack1.py index 0e8ec592c9..1e8b53aa1a 100644 --- a/tests/basics/unpack1.py +++ b/tests/basics/unpack1.py @@ -41,7 +41,7 @@ a, *b, c = 24, 25, 26, 27 ; print(a, b) a = [28, 29] *b, = a -print(a, b, a == b) +print(a, b, a == b, a is b) [*a] = [1, 2, 3] print(a)