diff options
author | Fred Drake <fdrake@acm.org> | 2001-05-10 15:05:03 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-05-10 15:05:03 (GMT) |
commit | e9735ac215327450f46dcf8e26d0581fb3e1a406 (patch) | |
tree | 8d844ab44c759aec5aff44666d4304279e7aea05 /Doc | |
parent | 99e607a86ff81122fdd25d5fed65766d38b716dc (diff) | |
download | cpython-e9735ac215327450f46dcf8e26d0581fb3e1a406.zip cpython-e9735ac215327450f46dcf8e26d0581fb3e1a406.tar.gz cpython-e9735ac215327450f46dcf8e26d0581fb3e1a406.tar.bz2 |
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.)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/liblocale.tex | 16 | ||||
-rw-r--r-- | 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}. |