]> granicus.if.org Git - python/commitdiff
Remove all mentions of the strop module -- it has been pronounced Evil.
authorFred Drake <fdrake@acm.org>
Thu, 10 May 2001 15:05:03 +0000 (15:05 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 10 May 2001 15:05:03 +0000 (15:05 +0000)
(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
Doc/lib/libstring.tex

index 107c21de7f7eda4cc09f9867b322d379f64a5987..14afdccf7ce68abf6a91c9bd4ccfe9abd176a925 100644 (file)
@@ -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:
index e95741eb8c31924359b1e3bb43f0a99908fc7b1a..38a0dbd2cdd6728042f4192c60838e1ee7bb1ef7 100644 (file)
@@ -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}.