Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04b6af commit 2562ff2Copy full SHA for 2562ff2
1 file changed
Doc/lib/liblocale.tex
@@ -397,7 +397,7 @@ \section{\module{locale} ---
397
398
\begin{verbatim}
399
>>> import locale
400
->>> loc = locale.setlocale(locale.LC_ALL) # get current locale
+>>> loc = locale.getlocale(locale.LC_ALL) # get current locale
401
>>> locale.setlocale(locale.LC_ALL, 'de_DE') # use German locale; name might vary with platform
402
>>> locale.strcoll('f\xe4n', 'foo') # compare a string containing an umlaut
403
>>> locale.setlocale(locale.LC_ALL, '') # use user's preferred locale
0 commit comments