1998-08-10 16:42:37 -03:00
|
|
|
\section{\module{keyword} ---
|
1999-02-19 20:14:17 -04:00
|
|
|
Testing for Python keywords}
|
1998-07-23 14:59:49 -03:00
|
|
|
|
1999-02-19 20:14:17 -04:00
|
|
|
\declaremodule{standard}{keyword}
|
1998-08-10 16:42:37 -03:00
|
|
|
\modulesynopsis{Test whether a string is a keyword in Python.}
|
1998-07-23 14:59:49 -03:00
|
|
|
|
1997-10-06 18:39:16 -03:00
|
|
|
|
|
|
|
This module allows a Python program to determine if a string is a
|
|
|
|
keyword. A single function is provided:
|
|
|
|
|
|
|
|
\begin{funcdesc}{iskeyword}{s}
|
|
|
|
Return true if \var{s} is a Python keyword.
|
|
|
|
\end{funcdesc}
|