Skip to content

Commit c622bf3

Browse files
committed
Merge usage of argument/parameter and markup fixes from 3.3.
2 parents 6409989 + ba7dd67 commit c622bf3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/email.mime.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Here are the classes:
116116
this data can be decoded by the standard Python module :mod:`sndhdr`, then the
117117
subtype will be automatically included in the :mailheader:`Content-Type` header.
118118
Otherwise you can explicitly specify the audio subtype via the *_subtype*
119-
parameter. If the minor type could not be guessed and *_subtype* was not given,
119+
argument. If the minor type could not be guessed and *_subtype* was not given,
120120
then :exc:`TypeError` is raised.
121121

122122
Optional *_encoder* is a callable (i.e. function) which will perform the actual
@@ -142,7 +142,7 @@ Here are the classes:
142142
this data can be decoded by the standard Python module :mod:`imghdr`, then the
143143
subtype will be automatically included in the :mailheader:`Content-Type` header.
144144
Otherwise you can explicitly specify the image subtype via the *_subtype*
145-
parameter. If the minor type could not be guessed and *_subtype* was not given,
145+
argument. If the minor type could not be guessed and *_subtype* was not given,
146146
then :exc:`TypeError` is raised.
147147

148148
Optional *_encoder* is a callable (i.e. function) which will perform the actual
@@ -183,12 +183,12 @@ Here are the classes:
183183
:class:`MIMEText` class is used to create MIME objects of major type
184184
:mimetype:`text`. *_text* is the string for the payload. *_subtype* is the
185185
minor type and defaults to :mimetype:`plain`. *_charset* is the character
186-
set of the text and is passed as a parameter to the
186+
set of the text and is passed as an argument to the
187187
:class:`~email.mime.nonmultipart.MIMENonMultipart` constructor; it defaults
188188
to ``us-ascii`` if the string contains only ``ascii`` codepoints, and
189189
``utf-8`` otherwise.
190190

191-
Unless the ``_charset`` parameter is explicitly set to ``None``, the
191+
Unless the *_charset* argument is explicitly set to ``None``, the
192192
MIMEText object created will have both a :mailheader:`Content-Type` header
193193
with a ``charset`` parameter, and a :mailheader:`Content-Transfer-Endcoding`
194194
header. This means that a subsequent ``set_payload`` call will not result

0 commit comments

Comments
 (0)