summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libkeyword.tex
blob: 9e6761b9661b41407f6e1f8749a875487fd2d7c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
\section{\module{keyword} ---
         Testing for Python keywords}

\declaremodule{standard}{keyword}
\modulesynopsis{Test whether a string is a keyword in Python.}


This module allows a Python program to determine if a string is a
keyword.  A single function is provided:

\begin{funcdesc}{iskeyword}{s}
Return true if \var{s} is a Python keyword.
\end{funcdesc}