]> granicus.if.org Git - python/commitdiff
Add keyword.kwlist to the public API.
authorFred Drake <fdrake@acm.org>
Thu, 24 Jan 2002 16:38:53 +0000 (16:38 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 24 Jan 2002 16:38:53 +0000 (16:38 +0000)
Doc/lib/libkeyword.tex

index 9e6761b9661b41407f6e1f8749a875487fd2d7c9..0c07cec2fa0c4798b057a6f0fc0473a2eef60240 100644 (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}