[docs] [issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring
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>
More information about the docs