This commit is contained in:
Raymond Hettinger 2013-03-23 08:21:52 -07:00
commit 51612fd803
2 changed files with 6 additions and 1 deletions

View file

@ -1627,6 +1627,8 @@ expression support in the :mod:`re` module).
Return true if the string is a valid identifier according to the language
definition, section :ref:`identifiers`.
Use :func:`keyword.iskeyword` to test for reserved identifiers such as
:keyword:`def` and :keyword:`class`.
.. method:: str.islower()