diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
commit | 1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch) | |
tree | 260789493c7151408f009eaa84a7815ce4d28246 /Doc/lib/liblocale.tex | |
parent | dc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff) | |
download | cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2 |
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/lib/liblocale.tex')
-rw-r--r-- | Doc/lib/liblocale.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex index a0ecf39..84eaf75 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -16,7 +16,7 @@ available. The \code{locale} module defines the following functions: -\renewcommand{\indexsubitem}{(in module locale)} +\setindexsubitem{(in module locale)} \begin{funcdesc}{setlocale}{category\optional{\, value}} If \var{value} is specified, modifies the locale setting for the @@ -31,10 +31,10 @@ If no \var{value} is specified, the current setting for the \code{setlocale()} is not thread safe on most systems. Applications typically start with a call of -\bcode\begin{verbatim} +\begin{verbatim} import locale locale.setlocale(locale.LC_ALL,"") -\end{verbatim}\ecode +\end{verbatim} This sets the locale for all categories to the user's default setting (typically specified in the \code{LANG} environment variable). If the locale is not changed thereafter, using multithreading should not @@ -182,9 +182,9 @@ Exception raised when \code{setlocale()} fails. Example: -\bcode\begin{verbatim} +\begin{verbatim} >>> import locale >>> locale.open(locale.LC_ALL,"de") #setting locale to German >>> locale.strcoll("f\344n","foo") #comparing a string containing an umlaut >>> can.close() -\end{verbatim}\ecode +\end{verbatim} |