blob: 16cff846ba648bc473106c3a69bed989b3bfabad [file] [log] [blame]
Fred Drake295da241998-08-10 19:42:37 +00001\section{\module{keyword} ---
2 Test whether a string is a Python keyword.}
Fred Drakeb91e9341998-07-23 17:59:49 +00003\declaremodule{standard}{keyword}
4
Fred Drake295da241998-08-10 19:42:37 +00005\modulesynopsis{Test whether a string is a keyword in Python.}
Fred Drakeb91e9341998-07-23 17:59:49 +00006
Fred Drakedb12f341997-10-06 21:39:16 +00007
8This module allows a Python program to determine if a string is a
9keyword. A single function is provided:
10
11\begin{funcdesc}{iskeyword}{s}
12Return true if \var{s} is a Python keyword.
13\end{funcdesc}