From 744f67fb62a1eb98ec17eecfa89f98361b35bd11 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 24 Jan 2002 16:38:53 +0000 Subject: Add keyword.kwlist to the public API. --- Doc/lib/libkeyword.tex | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Doc/lib/libkeyword.tex b/Doc/lib/libkeyword.tex index 9e6761b..0c07cec 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} -- cgit v0.12