Skip to content

Commit 1bd17de

Browse files
blazewiczdpgeorge
authored andcommitted
tests/basics/unpack1.py: Test if *a, = b copies b when b is a list.
1 parent 38c3778 commit 1bd17de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/basics/unpack1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
a = [28, 29]
4343
*b, = a
44-
print(a, b, a == b)
44+
print(a, b, a == b, a is b)
4545

4646
[*a] = [1, 2, 3]
4747
print(a)

0 commit comments

Comments
 (0)