Add keyword.kwlist to the public API.

This commit is contained in:
Fred Drake 2002-01-24 16:38:53 +00:00
parent db2d3d1b3a
commit 744f67fb62
1 changed files with 8 additions and 1 deletions

View File

@ -6,8 +6,15 @@
This module allows a Python program to determine if a string is a
keyword. A single function is provided:
keyword.
\begin{funcdesc}{iskeyword}{s}
Return true if \var{s} is a Python keyword.
\end{funcdesc}
\begin{datadesc}{kwlist}
Sequence containing all the keywords defined for the interpreter. If
any keywords are defined to only be active when particular
\module{__future__} statements are in effect, these will be included
as well.
\end{datadesc}