cpython/Doc/lib/libkeyword.tex

13 lines
354 B
TeX
Raw Normal View History

\section{Standard Module \module{keyword}}
\declaremodule{standard}{keyword}
\modulesynopsis{Test whether a string is a keyword in the Python language.}
1997-10-06 21:39:16 +00:00
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}