*Notes:
- mypy test.py
- mypy 1.19.1
- Python 3.15.0a6
Setting only * to an empty parameter list gets the wrong error message saying "arguments" instead of "parameters" as shown below:
# ↓
def func(*): ... # Error
error: Named arguments must follow bare *
So, the error message should say "parameters" instead of "arguments" as shown below:
error: Named parameters must follow bare *