Skip to content

Commit 97e92db

Browse files
Link to list of keywords in the laguage reference (GH-18024)
(cherry picked from commit 33238ec) Co-authored-by: Борис Верховский <[email protected]>
1 parent 34f85af commit 97e92db

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Doc/library/keyword.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88

99
--------------
1010

11-
This module allows a Python program to determine if a string is a keyword.
11+
This module allows a Python program to determine if a string is a
12+
:ref:`keyword <keywords>`.
1213

1314

1415
.. function:: iskeyword(s)
1516

16-
Return ``True`` if *s* is a Python keyword.
17+
Return ``True`` if *s* is a Python :ref:`keyword <keywords>`.
1718

1819

1920
.. data:: kwlist
2021

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

0 commit comments

Comments
 (0)