mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #1573, second attempt:
"def f(*, **kw)" now raises a SyntaxError.
This commit is contained in:
parent
3279b5df3c
commit
40d3a67a19
3 changed files with 9 additions and 13 deletions
|
@ -58,9 +58,6 @@ 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