|
|
|
|
|
by Peristarkawan
5500 days ago
|
|
That's entirely the caller's fault, not the function's. Compare: >>> def init(**kwargs):
... pass
...
>>> init(shapename='circle', **{'shapename': 'circle'})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: init() got multiple values for keyword argument 'shapename'
|
|