SF patch #1047577, typo in liblocale.tex
This commit is contained in:
parent
b04b6afd01
commit
2562ff2de3
|
@ -397,7 +397,7 @@ Example:
|
|||
|
||||
\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
|
||||
|
|
Loading…
Reference in New Issue