[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

George Sakkis report at bugs.python.org
Fri Mar 19 17:32:01 CET 2010


George Sakkis <george.sakkis at gmail.com> added the comment:

Which version are you running ? I don't get the "positional" word in 2.6 and 2.7a4.

In my opinion it should report how many required arguments are passed, regardless of how they are passed (positionally or by name). So in your example it should say "1 given" in both examples.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6474>
_______________________________________


More information about the Python-bugs-list mailing list