Fred Drake | 3a0351c | 1998-04-04 07:23:21 +0000 | [diff] [blame] | 1 | \section{Standard Module \module{keyword}} |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame] | 2 | \declaremodule{standard}{keyword} |
| 3 | |
| 4 | \modulesynopsis{Test whether a string is a keyword in the Python language.} |
| 5 | |
Fred Drake | db12f34 | 1997-10-06 21:39:16 +0000 | [diff] [blame] | 6 | |
| 7 | This module allows a Python program to determine if a string is a |
| 8 | keyword. A single function is provided: |
| 9 | |
| 10 | \begin{funcdesc}{iskeyword}{s} |
| 11 | Return true if \var{s} is a Python keyword. |
| 12 | \end{funcdesc} |