diff options
author | Fred Drake <fdrake@acm.org> | 2002-01-24 16:38:53 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-01-24 16:38:53 (GMT) |
commit | 744f67fb62a1eb98ec17eecfa89f98361b35bd11 (patch) | |
tree | 5d7c2a79bd2f8f889a24f81b07c7affe825110be | |
parent | db2d3d1b3a0b63fc89f27692d57be1b55d559b27 (diff) | |
download | cpython-744f67fb62a1eb98ec17eecfa89f98361b35bd11.zip cpython-744f67fb62a1eb98ec17eecfa89f98361b35bd11.tar.gz cpython-744f67fb62a1eb98ec17eecfa89f98361b35bd11.tar.bz2 |
Add keyword.kwlist to the public API.
-rw-r--r-- | Doc/lib/libkeyword.tex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/lib/libkeyword.tex b/Doc/lib/libkeyword.tex index 9e6761b..0c07cec 100644 --- a/Doc/lib/libkeyword.tex +++ b/Doc/lib/libkeyword.tex @@ -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} |