0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Doc/lib/libkeyword.tex

14 lines
366 B
TeX
Raw Normal View History

\section{\module{keyword} ---
1999-02-20 01:14:17 +01:00
Testing for Python keywords}
1999-02-20 01:14:17 +01:00
\declaremodule{standard}{keyword}
\modulesynopsis{Test whether a string is a keyword in Python.}
1997-10-06 23:39:16 +02: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}