Closed
Description
def spam(x, y): pass
def ok(**kwargs) -> None:
spam(x=1, **kwargs) # OK
def err(**kwargs) -> None:
spam(**kwargs, x=1) # error: Parse error before "x"
I wouldn't think the order matters. The Python interpreter does not have an issue with it.
With --fast-parser
I get error: "spam" gets multiple values for keyword argument "x"
instead. Should I open a separate issue for this?
Metadata
Metadata
Assignees
Labels
No labels