Commit ced70917 authored by Fred Drake's avatar Fred Drake

Do not claim that getlocale() returns a tulpe; that is not always true.

Closes SF bug #568577.
parent 06c72d3d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment