summaryrefslogtreecommitdiffstats
path: root/Doc/library/keyword.rst
diff options
context:
space:
mode:
authorБорис Верховский <boris.verk@gmail.com>2020-03-14 19:09:15 (GMT)
committerGitHub <noreply@github.com>2020-03-14 19:09:15 (GMT)
commit33238ec2af379e837cabc3945db5df8e23bf43e9 (patch)
tree3c9886293b98852f257e684feeea0fafb2e1f3f2 /Doc/library/keyword.rst
parent9165addc22d05e776a54319a8531ebd0b2fe01ef (diff)
downloadcpython-33238ec2af379e837cabc3945db5df8e23bf43e9.zip
cpython-33238ec2af379e837cabc3945db5df8e23bf43e9.tar.gz
cpython-33238ec2af379e837cabc3945db5df8e23bf43e9.tar.bz2
Link to list of keywords in the laguage reference (GH-18024)
Diffstat (limited to 'Doc/library/keyword.rst')
-rw-r--r--Doc/library/keyword.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/library/keyword.rst b/Doc/library/keyword.rst
index 3768df9..acec45c 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.