Skip to content

Commit

Permalink
Link to list of keywords in the laguage reference (GH-18024)
Browse files Browse the repository at this point in the history
  • Loading branch information
verhovsky committed Mar 14, 2020
1 parent 9165add commit 33238ec
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Doc/library/keyword.rst
Expand Up @@ -8,16 +8,17 @@

--------------

This module allows a Python program to determine if a string is a keyword.
This module allows a Python program to determine if a string is a
:ref:`keyword <keywords>`.


.. function:: iskeyword(s)

Return ``True`` if *s* is a Python keyword.
Return ``True`` if *s* is a Python :ref:`keyword <keywords>`.


.. data:: kwlist

Sequence containing all the keywords defined for the interpreter. If any
keywords are defined to only be active when particular :mod:`__future__`
statements are in effect, these will be included as well.
Sequence containing all the :ref:`keywords <keywords>` defined for the
interpreter. If any keywords are defined to only be active when particular
:mod:`__future__` statements are in effect, these will be included as well.

0 comments on commit 33238ec

Please sign in to comment.