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

This commit is contained in:
Борис Верховский 2020-03-14 15:09:15 -04:00 committed by GitHub
parent 9165addc22
commit 33238ec2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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) .. function:: iskeyword(s)
Return ``True`` if *s* is a Python keyword. Return ``True`` if *s* is a Python :ref:`keyword <keywords>`.
.. data:: kwlist .. data:: kwlist
Sequence containing all the keywords defined for the interpreter. If any Sequence containing all the :ref:`keywords <keywords>` defined for the
keywords are defined to only be active when particular :mod:`__future__` interpreter. If any keywords are defined to only be active when particular
statements are in effect, these will be included as well. :mod:`__future__` statements are in effect, these will be included as well.