mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Do not claim that getlocale() returns a tulpe; that is not always true.
Closes SF bug #568577.
This commit is contained in:
parent
340043ea79
commit
efb9097add
1 changed files with 3 additions and 3 deletions
|
@ -145,9 +145,9 @@ for which symbolic constants are available in the locale module.
|
|||
|
||||
\begin{funcdesc}{getlocale}{\optional{category}}
|
||||
Returns the current setting for the given locale category as
|
||||
tuple (language code, encoding). \var{category} may be one of the
|
||||
\constant{LC_*} values except \constant{LC_ALL}. It defaults to
|
||||
\constant{LC_CTYPE}.
|
||||
sequence containing \var{language code}, \var{encoding}.
|
||||
\var{category} may be one of the \constant{LC_*} values except
|
||||
\constant{LC_ALL}. It defaults to \constant{LC_CTYPE}.
|
||||
|
||||
Except for the code \code{'C'}, the language code corresponds to
|
||||
\rfc{1766}. \var{language code} and \var{encoding} may be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue