From: Fred Drake Date: Thu, 13 Jun 2002 17:54:44 +0000 (+0000) Subject: Do not claim that getlocale() returns a tulpe; that is not always true. X-Git-Tag: v2.2.2b1~328 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58baada39fff3afdb50113d33b4d3ccc657e0ae4;p=thirdparty%2FPython%2Fcpython.git 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 72dc69c42ea9..c9070719d7cb 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