This commit was manufactured by cvs2svn to create tag 'r241c1'.
[python/dscho.git] / Doc / lib / libkeyword.tex
blob0c07cec2fa0c4798b057a6f0fc0473a2eef60240
1 \section{\module{keyword} ---
2 Testing for Python keywords}
4 \declaremodule{standard}{keyword}
5 \modulesynopsis{Test whether a string is a keyword in Python.}
8 This module allows a Python program to determine if a string is a
9 keyword.
11 \begin{funcdesc}{iskeyword}{s}
12 Return true if \var{s} is a Python keyword.
13 \end{funcdesc}
15 \begin{datadesc}{kwlist}
16 Sequence containing all the keywords defined for the interpreter. If
17 any keywords are defined to only be active when particular
18 \module{__future__} statements are in effect, these will be included
19 as well.
20 \end{datadesc}