From e9735ac215327450f46dcf8e26d0581fb3e1a406 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 10 May 2001 15:05:03 +0000 Subject: 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.) --- Doc/lib/liblocale.tex | 16 +++++++--------- Doc/lib/libstring.tex | 9 --------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex index 107c21d..14afdcc 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -300,16 +300,14 @@ should you document that your module is not compatible with non-\samp{C} locale settings. 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 +\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} (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. +\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 is to use the special functions defined by this module: diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex index e95741e..38a0dbd 100644 --- a/Doc/lib/libstring.tex +++ b/Doc/lib/libstring.tex @@ -265,12 +265,3 @@ The functions defined in this module are: \var{maxsplit} is given, the first \var{maxsplit} occurrences are 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}. -- cgit v0.12