summaryrefslogtreecommitdiffstats
path: root/Doc/lib/emailexc.tex
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-09-26 22:21:52 (GMT)
committerBarry Warsaw <barry@python.org>2001-09-26 22:21:52 (GMT)
commitc5f8fe3a2706b829334758b741ddd1f49d00b54e (patch)
tree36103f5da258b1b8b0c8a7edc4b48bd92a03835c /Doc/lib/emailexc.tex
parentc86f6ca2b6d51040021b2a4bbd609b4445e321ff (diff)
downloadcpython-c5f8fe3a2706b829334758b741ddd1f49d00b54e.zip
cpython-c5f8fe3a2706b829334758b741ddd1f49d00b54e.tar.gz
cpython-c5f8fe3a2706b829334758b741ddd1f49d00b54e.tar.bz2
Updates do email package documentation for markup, style, and
organization.
Diffstat (limited to 'Doc/lib/emailexc.tex')
-rw-r--r--Doc/lib/emailexc.tex17
1 files changed, 6 insertions, 11 deletions
diff --git a/Doc/lib/emailexc.tex b/Doc/lib/emailexc.tex
index 8b2d189..4929244 100644
--- a/Doc/lib/emailexc.tex
+++ b/Doc/lib/emailexc.tex
@@ -1,11 +1,5 @@
-\section{\module{email.Errors} ---
- email package exception classes}
-
-\declaremodule{standard}{email.Exceptions}
+\declaremodule{standard}{email.Errors}
\modulesynopsis{The exception classes used by the email package.}
-\sectionauthor{Barry A. Warsaw}{barry@zope.com}
-
-\versionadded{2.2}
The following exception classes are defined in the
\module{email.Errors} module:
@@ -41,13 +35,14 @@ It can be raised from the \method{Parser.parse()} or
\method{Parser.parsestr()} methods.
Situations where it can be raised include not being able to find the
-starting or terminating boundary in a \code{multipart/*} message.
+starting or terminating boundary in a \mimetype{multipart/*} message.
\end{excclassdesc}
\begin{excclassdesc}{MultipartConversionError}{}
Raised when a payload is added to a \class{Message} object using
\method{add_payload()}, but the payload is already a scalar and the
-message's \code{Content-Type:} main type is not either \code{multipart}
-or missing. \exception{MultipartConversionError} multiply inherits
-from \exception{MessageError} and the built-in \exception{TypeError}.
+message's \mailheader{Content-Type} main type is not either
+\mimetype{multipart} or missing. \exception{MultipartConversionError}
+multiply inherits from \exception{MessageError} and the built-in
+\exception{TypeError}.
\end{excclassdesc}