Skip to content

Commit 3f5d18d

Browse files
miss-islingtonmjdominushugovk
authored
[3.12] gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) (GH-119264)
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> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent ffde4cd commit 3f5d18d

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)