[Python-checkins] CVS: python/dist/src/Doc/lib liblocale.tex,1.22,1.23 libstring.tex,1.42,1.43

Fred L. Drake fdrake@users.sourceforge.net
Thu, 10 May 2001 08:05:05 -0700


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

Modified Files:
	liblocale.tex libstring.tex 
Log Message:

Remove all mentions of the strop module -- it has been pronounced Evil.
(The string "strop" is found in the rexec documentation, but that should
not be changed until strop is actually removed or rexec no longer allows
it.)


Index: liblocale.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liblocale.tex,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** liblocale.tex	2001/01/24 17:19:06	1.22
--- liblocale.tex	2001/05/10 15:05:03	1.23
***************
*** 301,314 ****
  
  The case conversion functions in the
! \refmodule{string}\refstmodindex{string} and
! \module{strop}\refbimodindex{strop} modules are affected by the locale
! settings.  When a call to the \function{setlocale()} function changes
! the \constant{LC_CTYPE} settings, the variables
  \code{string.lowercase}, \code{string.uppercase} and
! \code{string.letters} (and their counterparts in \module{strop}) are
! recalculated.  Note that this code that uses these variable through
! `\keyword{from} ... \keyword{import} ...', e.g. \code{from string
! import letters}, is not affected by subsequent \function{setlocale()}
! calls.
  
  The only way to perform numeric operations according to the locale
--- 301,312 ----
  
  The case conversion functions in the
! \refmodule{string}\refstmodindex{string} module are affected by the
! locale settings.  When a call to the \function{setlocale()} function
! changes the \constant{LC_CTYPE} settings, the variables
  \code{string.lowercase}, \code{string.uppercase} and
! \code{string.letters} are recalculated.  Note that this code that uses
! these variable through `\keyword{from} ... \keyword{import} ...',
! e.g.\ \code{from string import letters}, is not affected by subsequent
! \function{setlocale()} calls.
  
  The only way to perform numeric operations according to the locale

Index: libstring.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstring.tex,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** libstring.tex	2000/12/26 16:14:32	1.42
--- libstring.tex	2001/05/10 15:05:03	1.43
***************
*** 266,276 ****
    replaced.
  \end{funcdesc}
- 
- This module is implemented in Python.  Much of its functionality has
- been reimplemented in the built-in module
- \module{strop}\refbimodindex{strop}.  However, you
- should \emph{never} import the latter module directly.  When
- \module{string} discovers that \module{strop} exists, it transparently
- replaces parts of itself with the implementation from \module{strop}.
- After initialization, there is \emph{no} overhead in using
- \module{string} instead of \module{strop}.
--- 266,267 ----