From: Fred Drake Date: Thu, 13 Jun 2002 17:54:06 +0000 (+0000) Subject: Do not claim that getlocale() returns a tulpe; that is not always true. X-Git-Tag: v2.3c1~5339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efb9097add12d372f3a41c6fa884235ba2291248;p=python Do not claim that getlocale() returns a tulpe; that is not always true. Closes SF bug #568577. --- diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex index 9a142eac6e..3c4506d782 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -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