summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-10-01 00:52:27 (GMT)
committerBarry Warsaw <barry@python.org>2002-10-01 00:52:27 (GMT)
commit2d7fab1a4519df3e13c87c5b6c2a06bd48525227 (patch)
tree291a151bf5a0a83a3a473d7adad5141cdc8e91d8
parent1f84ff1d403675790bf4712dab48e48730bc9f5a (diff)
downloadcpython-2d7fab1a4519df3e13c87c5b6c2a06bd48525227.zip
cpython-2d7fab1a4519df3e13c87c5b6c2a06bd48525227.tar.gz
cpython-2d7fab1a4519df3e13c87c5b6c2a06bd48525227.tar.bz2
Docstring consistency with the updated .tex files.
-rw-r--r--Lib/email/MIMEText.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/email/MIMEText.py b/Lib/email/MIMEText.py
index ccc82da..d91b93d 100644
--- a/Lib/email/MIMEText.py
+++ b/Lib/email/MIMEText.py
@@ -22,9 +22,9 @@ class MIMEText(MIMENonMultipart):
_subtype is the MIME sub content type, defaulting to "plain".
- _charset is the character set parameter added to the Content-Type:
+ _charset is the character set parameter added to the Content-Type
header. This defaults to "us-ascii". Note that as a side-effect, the
- Content-Transfer-Encoding: header will also be set.
+ Content-Transfer-Encoding header will also be set.
The use of the _encoder is deprecated. The encoding of the payload,
and the setting of the character set parameter now happens implicitly
@@ -42,7 +42,7 @@ class MIMEText(MIMENonMultipart):
warnings.warn('_encoder argument is obsolete.',
DeprecationWarning, 2)
# Because set_payload() with a _charset will set its own
- # Content-Transfer-Encoding: header, we need to delete the
+ # Content-Transfer-Encoding header, we need to delete the
# existing one or will end up with two of them. :(
del self['content-transfer-encoding']
_encoder(self)