Код: Выделить всё
def foo(name, **kwds):
return 'name' in kwds
foo(1, **{'name': 2})
Traceback (most recent call last):
File "", line 1, in
TypeError: foo() got multiple values for argument 'name'
Подробнее здесь: https://stackoverflow.com/questions/787 ... -in-python