[issue30534] error message for incorrect call degraded in 3.7

STINNER Victor report at bugs.python.org
Thu Jun 1 04:02:28 EDT 2017


STINNER Victor added the comment:

> Note that some error messages are "takes no keyword arguments", but others are "does not take keyword arguments" or "doesn't take keyword arguments".

We already have a _PyArg_NoKeywords() function. Maybe we could add a new _PyErr_NoKeywords() function which would just raise the error?

----------

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


More information about the Python-bugs-list mailing list