[Python-checkins] python/dist/src/Doc/lib liblocale.tex, 1.33.10.2, 1.33.10.3

nnorwitz at users.sourceforge.net nnorwitz at users.sourceforge.net
Sun Oct 17 18:46:30 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6505/Doc/lib

Modified Files:
      Tag: release23-maint
	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.33.10.2
retrieving revision 1.33.10.3
diff -u -d -r1.33.10.2 -r1.33.10.3
--- liblocale.tex	3 Sep 2003 04:53:17 -0000	1.33.10.2
+++ liblocale.tex	17 Oct 2004 16:46:28 -0000	1.33.10.3
@@ -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