def foo(key=None, value=None):
return {key: value}
foo(k='x', v=1)
def foo(key=None, value=None):
return {key: value}
foo(key='x', value=1)
Used when a function call passes a keyword argument that doesn’t correspond to one of the function’s parameter names.