summaryrefslogtreecommitdiffstats
path: root/Doc/lib/liblocale.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-06-13 17:54:06 (GMT)
committerFred Drake <fdrake@acm.org>2002-06-13 17:54:06 (GMT)
commitefb9097add12d372f3a41c6fa884235ba2291248 (patch)
treeaf47410b931ca05d533ecae5e4c736eae459d791 /Doc/lib/liblocale.tex
parent340043ea7916f4ada4e849cfb3da6d7cad621f5d (diff)
downloadcpython-efb9097add12d372f3a41c6fa884235ba2291248.zip
cpython-efb9097add12d372f3a41c6fa884235ba2291248.tar.gz
cpython-efb9097add12d372f3a41c6fa884235ba2291248.tar.bz2
Do not claim that getlocale() returns a tulpe; that is not always true.
Closes SF bug #568577.
Diffstat (limited to 'Doc/lib/liblocale.tex')
-rw-r--r--Doc/lib/liblocale.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex
index 9a142ea..3c4506d 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