summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-10-10 15:22:16 (GMT)
committerBarry Warsaw <barry@python.org>2002-10-10 15:22:16 (GMT)
commit57ce1430b2b9774662c8a162ffb16c5fda90b06f (patch)
tree98598d7639b7ee739a7a536374a9c131a2c2b624 /Doc
parentc986e54733c5da9c38a144cdcc1e66683d985290 (diff)
downloadcpython-57ce1430b2b9774662c8a162ffb16c5fda90b06f.zip
cpython-57ce1430b2b9774662c8a162ffb16c5fda90b06f.tar.gz
cpython-57ce1430b2b9774662c8a162ffb16c5fda90b06f.tar.bz2
Document that get_content_charset() coerces its return value to lower
case.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/emailmessage.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/emailmessage.tex b/Doc/lib/emailmessage.tex
index bfd8664..34c152d 100644
--- a/Doc/lib/emailmessage.tex
+++ b/Doc/lib/emailmessage.tex
@@ -443,8 +443,9 @@ have been present in the original \mailheader{Content-Type} header.
\begin{methoddesc}[Message]{get_content_charset}{\optional{failobj}}
Return the \code{charset} parameter of the \mailheader{Content-Type}
-header. If there is no \mailheader{Content-Type} header, or if that
-header has no \code{charset} parameter, \var{failobj} is returned.
+header, coerced to lower case. If there is no
+\mailheader{Content-Type} header, or if that header has no
+\code{charset} parameter, \var{failobj} is returned.
Note that this method differs from \method{get_charset()} which
returns the \class{Charset} instance for the default encoding of the