Martin Panter added the comment:
In this test, “keyword arguments” is definitely wrong:
>>> f(**{1:2})
-TypeError: f() keywords must be strings
+TypeError: f() keyword arguments must be strings
To me, a keyword argument is a _value_ passed in using the f(name=. . .)
syntax, and the keyword is the name that identifies it (usually becomes a
parameter name in the function implementation). So I think the original was
better. But if you think the original can be confusing, “keyword names” would
also work.
The other messages look okay to me.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29951>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com