[docs] [issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring
R. David Murray
report at bugs.python.org
Sat Mar 17 23:32:22 EDT 2018
R. David Murray <rdmurray at bitdance.com> added the comment:
For the original report that this issue was opened for:
Use keyword.iskeyword() to test for reserved identifiers such as "def" and "class".
The obvious replacement is:
Use the iskeyword() function from the keyword module to test for reserved identifiers such as "def" and "class".
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33014>
_______________________________________
More information about the docs
mailing list