From: Barry Warsaw Date: Thu, 10 Oct 2002 15:22:16 +0000 (+0000) Subject: Document that get_content_charset() coerces its return value to lower X-Git-Tag: v2.3c1~3829 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57ce1430b2b9774662c8a162ffb16c5fda90b06f;p=python Document that get_content_charset() coerces its return value to lower case. --- diff --git a/Doc/lib/emailmessage.tex b/Doc/lib/emailmessage.tex index bfd86647cb..34c152db9a 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