[Python-checkins] CVS: python/dist/src/Doc/lib libstring.tex,1.43,1.44

Fred L. Drake fdrake@users.sourceforge.net
Fri, 20 Jul 2001 11:38:29 -0700


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

Modified Files:
	libstring.tex 
Log Message:

Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase
to the string module.  This was determined to be the right approach in
SF bug #226706.


Index: libstring.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstring.tex,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** libstring.tex	2001/05/10 15:05:03	1.43
--- libstring.tex	2001/07/20 18:38:26	1.44
***************
*** 13,16 ****
--- 13,32 ----
  The constants defined in this module are:
  
+ \begin{datadesc}{ascii_letters}
+   The concatenation of the \constant{ascii_lowercase} and
+   \constant{ascii_uppercase} constants described below.  This value is
+   not locale-dependent.
+ \end{datadesc}
+ 
+ \begin{datadesc}{ascii_lowercase}
+   The lowercase letters \code{'abcdefghijklmnopqrstuvwxyz'}.  This
+   value is not locale-dependent and will not change.
+ \end{datadesc}
+ 
+ \begin{datadesc}{ascii_uppercase}
+   The uppercase letters \code{'ABCDEFGHIJKLMNOPQRSTUVWXYZ'}.  This
+   value is not locale-dependent and will not change.
+ \end{datadesc}
+ 
  \begin{datadesc}{digits}
    The string \code{'0123456789'}.
***************
*** 23,27 ****
  \begin{datadesc}{letters}
    The concatenation of the strings \constant{lowercase} and
!   \constant{uppercase} described below.
  \end{datadesc}
  
--- 39,45 ----
  \begin{datadesc}{letters}
    The concatenation of the strings \constant{lowercase} and
!   \constant{uppercase} described below.  The specific value is
!   locale-dependent, and will be updated when
!   \function{locale.setlocale()} is called.
  \end{datadesc}
  
***************
*** 31,35 ****
    \code{'abcdefghijklmnopqrstuvwxyz'}.  Do not change its definition ---
    the effect on the routines \function{upper()} and
!   \function{swapcase()} is undefined.
  \end{datadesc}
  
--- 49,55 ----
    \code{'abcdefghijklmnopqrstuvwxyz'}.  Do not change its definition ---
    the effect on the routines \function{upper()} and
!   \function{swapcase()} is undefined.  The specific value is
!   locale-dependent, and will be updated when
!   \function{locale.setlocale()} is called.
  \end{datadesc}
  
***************
*** 54,58 ****
    \code{'ABCDEFGHIJKLMNOPQRSTUVWXYZ'}.  Do not change its definition ---
    the effect on the routines \function{lower()} and
!   \function{swapcase()} is undefined.
  \end{datadesc}
  
--- 74,80 ----
    \code{'ABCDEFGHIJKLMNOPQRSTUVWXYZ'}.  Do not change its definition ---
    the effect on the routines \function{lower()} and
!   \function{swapcase()} is undefined.  The specific value is
!   locale-dependent, and will be updated when
!   \function{locale.setlocale()} is called.
  \end{datadesc}