[3.13] gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) (GH-119263)

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
(cherry picked from commit 8231a24454)

Co-authored-by: Mark Jason Dominus (陶敏修) <mjd@pobox.com>
This commit is contained in:
Miss Islington (bot) 2024-06-07 18:11:20 +02:00 committed by GitHub
parent 8368b67d1b
commit 18359f202d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,12 @@ Unpack implied tuple
>>> a == [7, 8, 9]
True
Unpack nested implied tuple
>>> [*[*a]] = [[7,8,9]]
>>> a == [[7,8,9]]
True
Unpack string... fun!
>>> a, *b = 'one'