Commit 1bd17de4 authored by Krzysztof Blazewicz's avatar Krzysztof Blazewicz Committed by Damien George
Browse files

tests/basics/unpack1.py: Test if *a, = b copies b when b is a list.

parent 38c3778b
......@@ -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)
......
Supports Markdown
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