cpython/Doc/lib/libkeyword.tex

11 lines
286 B
TeX
Raw Normal View History

\section{Standard Module \module{keyword}}
1998-02-18 23:10:24 +08:00
\label{module-keyword}
1997-10-07 05:39:16 +08:00
\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}