Skip to content

Commit 8231a24

Browse files
authored
gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222)
Add test coverage for "starred kind" in _PyPegen_set_expr_context
1 parent 7e57640 commit 8231a24

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Lib/test/test_unpack_ex.py

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
2626
>>> a == [7, 8, 9]
2727
True
2828
29+
Unpack nested implied tuple
30+
31+
>>> [*[*a]] = [[7,8,9]]
32+
>>> a == [[7,8,9]]
33+
True
34+
2935
Unpack string... fun!
3036
3137
>>> a, *b = 'one'

0 commit comments

Comments
 (0)