>>> l(1,2, d=1)
Traceback (most recent call last):
TypeError: l() takes exactly 0 positional arguments (2 given)
+
+ >>> m(1, b=2)
+ >>> m(a=1, b=2)
+ >>> m(a=1, b=2, c=1)
+
+ >>> l(1,2,3)
+ Traceback (most recent call last):
+ TypeError: l() takes exactly 0 positional arguments (3 given)
+ >>> l(1,2, d=1)
+ Traceback (most recent call last):
+ TypeError: l() takes exactly 0 positional arguments (2 given)
"""
def b(a, b, c):
def l(*, a, b, c = 88):
pass
+
+def m(a, *, b, c = 88):
+ pass