From: Fred Drake Date: Thu, 24 Jan 2002 16:39:43 +0000 (+0000) Subject: Add keyword.kwlist to the public API. X-Git-Tag: v2.2.1c1~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=446b2472fcf5cc1d3a49fbac3da6f9bb3f34f262;p=thirdparty%2FPython%2Fcpython.git Add keyword.kwlist to the public API. --- diff --git a/Doc/lib/libkeyword.tex b/Doc/lib/libkeyword.tex index 9e6761b9661b..0c07cec2fa0c 100644 --- a/Doc/lib/libkeyword.tex +++ b/Doc/lib/libkeyword.tex @@ -6,8 +6,15 @@ This module allows a Python program to determine if a string is a -keyword. A single function is provided: +keyword. \begin{funcdesc}{iskeyword}{s} Return true if \var{s} is a Python keyword. \end{funcdesc} + +\begin{datadesc}{kwlist} +Sequence containing all the keywords defined for the interpreter. If +any keywords are defined to only be active when particular +\module{__future__} statements are in effect, these will be included +as well. +\end{datadesc}