- **kwargs
Extra key-value pairs in parameters
examples/functions/extra_kw.py
def f(name, **kw): print(name) print(kw) f(name="Foo", a=23, b=12) f(a=23, name="Bar", b=12)
Foo {'a': 23, 'b': 12} Bar {'a': 23, 'b': 12}
def f(name, **kw): print(name) print(kw) f(name="Foo", a=23, b=12) f(a=23, name="Bar", b=12)
Foo {'a': 23, 'b': 12} Bar {'a': 23, 'b': 12}