Skip to content

Commit e4ed7db

Browse files
mjdominusmiss-islington
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 (cherry picked from commit 8231a24) Co-authored-by: Mark Jason Dominus (陶敏修) <mjd@pobox.com>
1 parent 1738944 commit e4ed7db

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)