[issue22652] Add suggestion about keyword arguments to this error message: "builtins.TypeError: my_func() takes 1 positional argument but 2 were given"

Ram Rachum report at bugs.python.org
Sun Apr 12 13:36:58 CEST 2015


Ram Rachum added the comment:

ztane: I don't think so. You're taking attention away from the "and keyword-only arguments", where in fact this is the piece of information that's likely to save the user the most time, so therefore it should get more attention.

----------

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


More information about the Python-bugs-list mailing list