]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Link to list of keywords in the laguage reference (GH-18024)
authorБорис Верховский <boris.verk@gmail.com>
Sat, 14 Mar 2020 19:09:15 +0000 (15:09 -0400)
committerGitHub <noreply@github.com>
Sat, 14 Mar 2020 19:09:15 +0000 (21:09 +0200)
Doc/library/keyword.rst

index 3768df969c55c96e106463c67b728cc58357b007..acec45cdcd586e36a3ed65461dc513fd17d808ae 100644 (file)
@@ -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.