summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libkeyword.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-01-24 16:38:53 (GMT)
committerFred Drake <fdrake@acm.org>2002-01-24 16:38:53 (GMT)
commit744f67fb62a1eb98ec17eecfa89f98361b35bd11 (patch)
tree5d7c2a79bd2f8f889a24f81b07c7affe825110be /Doc/lib/libkeyword.tex
parentdb2d3d1b3a0b63fc89f27692d57be1b55d559b27 (diff)
downloadcpython-744f67fb62a1eb98ec17eecfa89f98361b35bd11.zip
cpython-744f67fb62a1eb98ec17eecfa89f98361b35bd11.tar.gz
cpython-744f67fb62a1eb98ec17eecfa89f98361b35bd11.tar.bz2
Add keyword.kwlist to the public API.
Diffstat (limited to 'Doc/lib/libkeyword.tex')
-rw-r--r--Doc/lib/libkeyword.tex9
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}