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
11 \begin{funcdesc
}{iskeyword
}{s
}
12 Return true if
\var{s
} is a Python keyword.
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