[Python-checkins] CVS: python/dist/src/Doc/lib libkeyword.tex,1.6,1.7

Fred L. Drake fdrake@users.sourceforge.net
Thu, 24 Jan 2002 08:38:55 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv10973/lib

Modified Files:
	libkeyword.tex 
Log Message:
Add keyword.kwlist to the public API.

Index: libkeyword.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libkeyword.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** libkeyword.tex	1999/02/20 00:14:13	1.6
--- libkeyword.tex	2002/01/24 16:38:53	1.7
***************
*** 7,13 ****
  
  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}
--- 7,20 ----
  
  This module allows a Python program to determine if a string is a
! 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}