[docs] [issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

Carol Willing report at bugs.python.org
Mon Mar 12 16:25:02 EDT 2018


Carol Willing <willingc at gmail.com> added the comment:

I've made an additional suggestion on the open PR to add an example to the `.rst` doc that better clarifies the differences and usage of `iskeyword` and `isidentifier`.

Perhaps making that addition and skipping the updates to the C source code would be a reasonable step forward. While perhaps not ideal, it seems a reasonable compromise to provide more helpful documentation without any potential performance impact or regression.

----------

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


More information about the docs mailing list