summaryrefslogtreecommitdiffstats
path: root/Doc/libkeyword.tex
blob: b4910a692b99bce6cae144aca33fd7db1ed62be3 (plain)
1
2
3
4
5
6
7
8
9
10
\section{Standard Module \sectcode{keyword}}
\label{module-keyword}
\stmodindex{keyword}

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}