]> granicus.if.org Git - python/commitdiff
Do not claim that getlocale() returns a tulpe; that is not always true.
authorFred Drake <fdrake@acm.org>
Thu, 13 Jun 2002 17:54:06 +0000 (17:54 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 13 Jun 2002 17:54:06 +0000 (17:54 +0000)
Closes SF bug #568577.

Doc/lib/liblocale.tex

index 9a142eac6e9bd073dd7358cf666d4ca7fac40f07..3c4506d78210cd1999d36f4395a665945af5fda8 100644 (file)
@@ -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