Issue #1573, second attempt:

"def f(*, **kw)" now raises a SyntaxError.
This commit is contained in:
Amaury Forgeot d'Arc 2007-12-09 21:49:48 +00:00
parent 3279b5df3c
commit 40d3a67a19
3 changed files with 9 additions and 13 deletions

View file

@ -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"