blob: 24635a5a99b524d4ad3a941fd4f062e1473beeae [file] [log] [blame]
Fred Drake3a0351c1998-04-04 07:23:21 +00001\section{Standard Module \module{keyword}}
Fred Drakeb91e9341998-07-23 17:59:49 +00002\declaremodule{standard}{keyword}
3
4\modulesynopsis{Test whether a string is a keyword in the Python language.}
5
Fred Drakedb12f341997-10-06 21:39:16 +00006
7This module allows a Python program to determine if a string is a
8keyword. A single function is provided:
9
10\begin{funcdesc}{iskeyword}{s}
11Return true if \var{s} is a Python keyword.
12\end{funcdesc}