Skip to content

Commit 067e2ea

Browse files
mjdominusestyxx
authored andcommitted
pythongh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (pythonGH-119222)
Add test coverage for "starred kind" in _PyPegen_set_expr_context
1 parent b03e63c commit 067e2ea

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)