blob: 16cff846ba648bc473106c3a69bed989b3bfabad [file] [log] [blame]
\section{\module{keyword} ---
Test whether a string is a Python keyword.}
\declaremodule{standard}{keyword}
\modulesynopsis{Test whether a string is a keyword in Python.}
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}