Benjamin Peterson <benja...@python.org> added the comment:

It's a weird error even it reverse order:

>>> def f(foo, *args):
...     pass
...
>>> f(*(1, 2, 3), foo=4)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: f() got multiple values for keyword argument 'foo'

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8177>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to