Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2562ff2

Browse files
committed
SF patch #1047577, typo in liblocale.tex
1 parent b04b6af commit 2562ff2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/liblocale.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ \section{\module{locale} ---
397397

398398
\begin{verbatim}
399399
>>> import locale
400-
>>> loc = locale.setlocale(locale.LC_ALL) # get current locale
400+
>>> loc = locale.getlocale(locale.LC_ALL) # get current locale
401401
>>> locale.setlocale(locale.LC_ALL, 'de_DE') # use German locale; name might vary with platform
402402
>>> locale.strcoll('f\xe4n', 'foo') # compare a string containing an umlaut
403403
>>> locale.setlocale(locale.LC_ALL, '') # use user's preferred locale

0 commit comments

Comments
 (0)