blob: b4910a692b99bce6cae144aca33fd7db1ed62be3 [file] [log] [blame]
Fred Drakedb12f341997-10-06 21:39:16 +00001\section{Standard Module \sectcode{keyword}}
Fred Drake12918af1998-02-18 15:10:24 +00002\label{module-keyword}
Fred Drakedb12f341997-10-06 21:39:16 +00003\stmodindex{keyword}
4
5This module allows a Python program to determine if a string is a
6keyword. A single function is provided:
7
8\begin{funcdesc}{iskeyword}{s}
9Return true if \var{s} is a Python keyword.
10\end{funcdesc}