mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Link to list of keywords in the laguage reference (GH-18024)
This commit is contained in:
parent
9165addc22
commit
33238ec2af
1 changed files with 6 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue