summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-17 05:17:58 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-17 05:17:58 (GMT)
commite78661bf90c8da94926b666ceb5cae1411335de8 (patch)
tree5242a7f0f3a28ca14b7683dd820dddfa3ee675a8 /Doc
parent59e07bde96d237b2abd031236e24ba86e34261ce (diff)
downloadcpython-e78661bf90c8da94926b666ceb5cae1411335de8.zip
cpython-e78661bf90c8da94926b666ceb5cae1411335de8.tar.gz
cpython-e78661bf90c8da94926b666ceb5cae1411335de8.tar.bz2
Fix a couple of minor markup nits.
Footnotes should be added *after* punctuation, not before. (Yes, this should be merged with the descr branch. Sorry, Tim!)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/librfc822.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/librfc822.tex b/Doc/lib/librfc822.tex
index 8a30500..5db0bf3 100644
--- a/Doc/lib/librfc822.tex
+++ b/Doc/lib/librfc822.tex
@@ -6,11 +6,11 @@
This module defines a class, \class{Message}, which represents an
``email message'' as defined by the Internet standard
-\rfc{2822}\footnote{This module originally conformed to \rfc{822},
+\rfc{2822}.\footnote{This module originally conformed to \rfc{822},
hence the name. Since then, \rfc{2822} has been released as an
update to \rfc{822}. This module should be considered
\rfc{2822}-conformant, especially in cases where the
-syntax or semantics have changed since \rfc{822}.}. Such messages
+syntax or semantics have changed since \rfc{822}.} Such messages
consist of a collection of message headers, and a message body. This
module also defines a helper class
\class{AddressList} for parsing \rfc{2822} addresses. Please refer to
@@ -72,8 +72,8 @@ are stripped off.
\end{funcdesc}
\begin{funcdesc}{parseaddr}{address}
-Parse address -- which should be the value of some address-containing
-field such as \code{To:} or \code{Cc:} -- into its constituent
+Parse \var{address}, which should be the value of some address-containing
+field such as \code{To:} or \code{Cc:}, into its constituent
``realname'' and ``email address'' parts. Returns a tuple of that
information, unless the parse fails, in which case a 2-tuple of
\code{(None, None)} is returned.
@@ -257,7 +257,7 @@ also support the mapping writable interface \code{\var{m}[name] =
value} and \code{del \var{m}[name]}. \class{Message} objects do not
support the \method{clear()}, \method{copy()}, \method{popitem()}, or
\method{update()} methods of the mapping interface. (Support for
-\method{.get()} and \method{.setdefault()} was only added in Python
+\method{get()} and \method{setdefault()} was only added in Python
2.2.)
Finally, \class{Message} instances have two public instance variables: