Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e78661b

Browse files
committed
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!)
1 parent 59e07bd commit e78661b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/lib/librfc822.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ \section{\module{rfc822} ---
66

77
This module defines a class, \class{Message}, which represents an
88
``email message'' as defined by the Internet standard
9-
\rfc{2822}\footnote{This module originally conformed to \rfc{822},
9+
\rfc{2822}.\footnote{This module originally conformed to \rfc{822},
1010
hence the name. Since then, \rfc{2822} has been released as an
1111
update to \rfc{822}. This module should be considered
1212
\rfc{2822}-conformant, especially in cases where the
13-
syntax or semantics have changed since \rfc{822}.}. Such messages
13+
syntax or semantics have changed since \rfc{822}.} Such messages
1414
consist of a collection of message headers, and a message body. This
1515
module also defines a helper class
1616
\class{AddressList} for parsing \rfc{2822} addresses. Please refer to
@@ -72,8 +72,8 @@ \section{\module{rfc822} ---
7272
\end{funcdesc}
7373

7474
\begin{funcdesc}{parseaddr}{address}
75-
Parse address -- which should be the value of some address-containing
76-
field such as \code{To:} or \code{Cc:} -- into its constituent
75+
Parse \var{address}, which should be the value of some address-containing
76+
field such as \code{To:} or \code{Cc:}, into its constituent
7777
``realname'' and ``email address'' parts. Returns a tuple of that
7878
information, unless the parse fails, in which case a 2-tuple of
7979
\code{(None, None)} is returned.
@@ -257,7 +257,7 @@ \subsection{Message Objects \label{message-objects}}
257257
value} and \code{del \var{m}[name]}. \class{Message} objects do not
258258
support the \method{clear()}, \method{copy()}, \method{popitem()}, or
259259
\method{update()} methods of the mapping interface. (Support for
260-
\method{.get()} and \method{.setdefault()} was only added in Python
260+
\method{get()} and \method{setdefault()} was only added in Python
261261
2.2.)
262262

263263
Finally, \class{Message} instances have two public instance variables:

0 commit comments

Comments
 (0)