From ee1a7da1354f265040d9785b67719901df01c864 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 15 Nov 2008 08:10:04 +0000 Subject: #4324: fix getlocale() argument. --- Doc/library/locale.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst index 6d427b7..3dfefa2 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 -- cgit v0.12