Fred Drake | db12f34 | 1997-10-06 21:39:16 +0000 | [diff] [blame] | 1 | \section{Standard Module \sectcode{keyword}} |
Fred Drake | 12918af | 1998-02-18 15:10:24 +0000 | [diff] [blame] | 2 | \label{module-keyword} |
Fred Drake | db12f34 | 1997-10-06 21:39:16 +0000 | [diff] [blame] | 3 | \stmodindex{keyword} |
4 | |||||
5 | This module allows a Python program to determine if a string is a | ||||
6 | keyword. A single function is provided: | ||||
7 | |||||
8 | \begin{funcdesc}{iskeyword}{s} | ||||
9 | Return true if \var{s} is a Python keyword. | ||||
10 | \end{funcdesc} |