[issue21578] Misleading error message when ImportError called with invalid keyword args
Xiang Zhang
report at bugs.python.org
Thu Aug 4 22:31:40 EDT 2016
Xiang Zhang added the comment:
I am a little uncomfortable with the empty tuple. It's only used as a placeholder for PyArg_ParseTupleAndKeywords. But this way we can achieve consistent error message. Don't know how to choose.
----------
nosy: +xiang.zhang
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21578>
_______________________________________
More information about the Python-bugs-list
mailing list