>>> def f(*, x=1): pass ... >>> f(1) Traceback (most recent call last): File "", line 1, in TypeError: f() takes 0 positional arguments but 1 was given