From: Fred Drake Date: Thu, 13 Jun 2002 17:55:42 +0000 (+0000) Subject: Do not claim that getlocale() returns a tulpe; that is not always true. X-Git-Tag: 2.1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f89e4dd0f7fbb998005a95142276ba3a142c4cf8;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 14afdccf7ce6..7379f822aad5 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -136,9 +136,9 @@ locale.setlocale(locale.LC_ALL, '') \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