diff options
| author | Georg Brandl <georg@python.org> | 2013-03-25 06:01:37 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2013-03-25 06:01:37 (GMT) |
| commit | a809e4a54007303efb084b85ba53605adaa41b64 (patch) | |
| tree | d038bc1b85b83594b29f00ae5bc10b5290ffdf71 /Doc/library/stdtypes.rst | |
| parent | d08d0b1c69b19c58afb998e30eadfc7b9de26378 (diff) | |
| parent | 153866ea9ab80323d247a9c49d1fdf50e07e7330 (diff) | |
| download | cpython-3.3.1rc1.zip cpython-3.3.1rc1.tar.gz cpython-3.3.1rc1.tar.bz2 | |
merge with upstream 3.3 branchv3.3.1rc1
Diffstat (limited to 'Doc/library/stdtypes.rst')
| -rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 7e5f04f..60df11d 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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() |
