[issue30858] Keyword can't be an expression?

Nick Coghlan report at bugs.python.org
Sun Aug 26 21:42:32 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I just ran into this, and found the existing error message *incredibly* confusing. My immediate reaction was "There's no keyword in that line, what are you complaining about?".

An error message that said "Keyword argument name must be an identifier" would have been *far* more useful, and far less confusing.

----------
nosy: +ncoghlan

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30858>
_______________________________________


More information about the Python-bugs-list mailing list