From: Georg Brandl Date: Sat, 15 Nov 2008 08:10:04 +0000 (+0000) Subject: #4324: fix getlocale() argument. X-Git-Tag: v2.7a1~2662 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee1a7da1354f265040d9785b67719901df01c864;p=thirdparty%2FPython%2Fcpython.git #4324: fix getlocale() argument. --- diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst index 6d427b7dc6fe..3dfefa2657fe 100644 --- a/Doc/library/locale.rst +++ b/Doc/library/locale.rst @@ -492,7 +492,7 @@ descriptions are taken from the corresponding description in the GNU C library. Example:: >>> import locale - >>> loc = locale.getlocale(locale.LC_ALL) # get current locale + >>> loc = locale.getlocale() # 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