From: Neal Norwitz Date: Sun, 17 Oct 2004 16:36:05 +0000 (+0000) Subject: SF patch #1047577, typo in liblocale.tex X-Git-Tag: v2.4b2~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2562ff2de3cb968535df5713e76d843b1325b300;p=thirdparty%2FPython%2Fcpython.git SF patch #1047577, typo in liblocale.tex --- diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex index cfbea931848b..e6ba2c1148cd 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -397,7 +397,7 @@ Example: \begin{verbatim} >>> import locale ->>> loc = locale.setlocale(locale.LC_ALL) # get current locale +>>> loc = locale.getlocale(locale.LC_ALL) # get current locale >>> locale.setlocale(locale.LC_ALL, 'de_DE') # use German locale; name might vary with platform >>> locale.strcoll('f\xe4n', 'foo') # compare a string containing an umlaut >>> locale.setlocale(locale.LC_ALL, '') # use user's preferred locale