[Python-checkins] python/dist/src/Doc/lib liblocale.tex,1.38,1.39
nnorwitz at users.sourceforge.net
nnorwitz at users.sourceforge.net
Sun Oct 17 18:36:08 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3233/Doc/lib
Modified Files:
liblocale.tex
Log Message:
SF patch #1047577, typo in liblocale.tex
Index: liblocale.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liblocale.tex,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- liblocale.tex 29 Jul 2004 03:48:59 -0000 1.38
+++ liblocale.tex 17 Oct 2004 16:36:05 -0000 1.39
@@ -397,7 +397,7 @@
\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
More information about the Python-checkins
mailing list