From: Neal Norwitz Date: Sun, 17 Oct 2004 16:46:28 +0000 (+0000) Subject: SF patch #1047577, typo in liblocale.tex X-Git-Tag: v2.3.5c1~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ede11deec30feff36e7d501118d888e40fa6021f;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 967c75991ea2..91cc961e537b 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