summaryrefslogtreecommitdiffstats
path: root/Doc/librfc822.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-07 10:14:09 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-07 10:14:09 (GMT)
commit6c4f003202bade83791c754cd94e28c1c2fb10fa (patch)
tree749a24c8924e8b4e717cf0267b1c93791f30d3f5 /Doc/librfc822.tex
parentd01c100713ed5f4490300c16501407b86e789e5d (diff)
downloadcpython-6c4f003202bade83791c754cd94e28c1c2fb10fa.zip
cpython-6c4f003202bade83791c754cd94e28c1c2fb10fa.tar.gz
cpython-6c4f003202bade83791c754cd94e28c1c2fb10fa.tar.bz2
changes (suggested) by Soren Larsen
Diffstat (limited to 'Doc/librfc822.tex')
-rw-r--r--Doc/librfc822.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/librfc822.tex b/Doc/librfc822.tex
index 641ea85..602b6ef 100644
--- a/Doc/librfc822.tex
+++ b/Doc/librfc822.tex
@@ -29,7 +29,7 @@ object is seekable.
\end{funcdesc}
\begin{funcdesc}{getallmatchingheaders}{name}
-Return a list of lines consisting of all headers whose header matches
+Return a list of lines consisting of all headers matching
\var{name}, if any. Each physical line, whether it is a continuation
line or not, is a separate list item. Return the empty list if no
header matches \var{name}.
@@ -60,12 +60,12 @@ returned by \code{getheader(\var{name})}. If no header matching
\var{name} exists, return \code{None, None}; otherwise both the full
name and the address are (possibly empty )strings.
-Example: if \code{m}'s first \code{From} header contains the string
+Example: If \code{m}'s first \code{From} header contains the string
\code{'guido@cwi.nl (Guido van Rossum)'}, then
\code{m.getaddr('From')} will yield the pair
-\code{('Guido van Rossum', 'guido\@cwi.nl')}.
+\code{('Guido van Rossum', 'guido@cwi.nl')}.
If the header contained
-\code{'Guido van Rossum <guido\@cwi.nl>'} instead, it would yield the
+\code{'Guido van Rossum <guido@cwi.nl>'} instead, it would yield the
exact same result.
\end{funcdesc}
@@ -82,7 +82,7 @@ yields bogus results if a full name contains a comma.
\begin{funcdesc}{getdate}{name}
Retrieve a header using \code{getheader} and parse it into a 9-tuple
-compatible with \code{time.kmtime()}. If there is no header matching
+compatible with \code{time.mktime()}. If there is no header matching
\var{name}, or it is unparsable, return \code{None}.
Date parsing appears to be a black art, and not all mailers adhere to