[Python-checkins] Link to list of keywords in the laguage reference (GH-18024)

Борис Верховский webhook-mailer at python.org
Sat Mar 14 15:09:20 EDT 2020


https://github.com/python/cpython/commit/33238ec2af379e837cabc3945db5df8e23bf43e9
commit: 33238ec2af379e837cabc3945db5df8e23bf43e9
branch: master
author: Борис Верховский <boris.verk at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-03-14T21:09:15+02:00
summary:

Link to list of keywords in the laguage reference (GH-18024)

files:
M Doc/library/keyword.rst

diff --git a/Doc/library/keyword.rst b/Doc/library/keyword.rst
index 3768df969c55c..acec45cdcd586 100644
--- a/Doc/library/keyword.rst
+++ b/Doc/library/keyword.rst
@@ -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.



More information about the Python-checkins mailing list