mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Added two tests for f(*, **kw) syntax
This commit is contained in:
parent
bc8734174a
commit
0da5bd6ee1
2 changed files with 10 additions and 0 deletions
|
@ -58,6 +58,9 @@ exec_tests = [
|
|||
"break",
|
||||
# Continue
|
||||
"continue",
|
||||
# kw only funcs
|
||||
"def f(*, kw=1): pass",
|
||||
"def f(*, **kw): pass",
|
||||
]
|
||||
|
||||
# These are compiled through "single"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue