mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
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
This commit is contained in:
parent
7e57640c7e
commit
8231a24454
1 changed files with 6 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue