diff options
Diffstat (limited to 'Doc/lib/liblocale.tex')
-rw-r--r-- | Doc/lib/liblocale.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex index 974d696..107c21d 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -265,7 +265,7 @@ Example: >>> import locale >>> loc = locale.setlocale(locale.LC_ALL) # get current locale >>> locale.setlocale(locale.LC_ALL, 'de') # use German locale ->>> locale.strcoll('f\344n', 'foo') # compare a string containing an umlaut +>>> locale.strcoll('f\xe4n', 'foo') # compare a string containing an umlaut >>> locale.setlocale(locale.LC_ALL, '') # use user's preferred locale >>> locale.setlocale(locale.LC_ALL, 'C') # use default (C) locale >>> locale.setlocale(locale.LC_ALL, loc) # restore saved locale |