diff options
author | Guido van Rossum <guido@python.org> | 1995-03-17 16:07:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-17 16:07:09 (GMT) |
commit | 470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9 (patch) | |
tree | 4fd0b8eda81e63366598e55362ceac85adafccb4 /Doc/librfc822.tex | |
parent | 7760cdea81166b7741561043c58dae171811fb2f (diff) | |
download | cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.zip cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.tar.gz cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.tar.bz2 |
mass changes; fix titles; add examples; correct typos; clarifications;
unified style; etc.
Diffstat (limited to 'Doc/librfc822.tex')
-rw-r--r-- | Doc/librfc822.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/librfc822.tex b/Doc/librfc822.tex index 602b6ef..d819238 100644 --- a/Doc/librfc822.tex +++ b/Doc/librfc822.tex @@ -1,4 +1,4 @@ -\section{Built-in module \sectcode{rfc822}} +\section{Standard Module \sectcode{rfc822}} \stmodindex{rfc822} \renewcommand{\indexsubitem}{(in module rfc822)} @@ -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 -\code{'guido@cwi.nl (Guido van Rossum)'}, then +Example: If \code{m}'s first \code{From} header contains the string\\ +\code{'jack@cwi.nl (Jack Jansen)'}, then \code{m.getaddr('From')} will yield the pair -\code{('Guido van Rossum', 'guido@cwi.nl')}. +\code{('Jack Jansen', 'jack@cwi.nl')}. If the header contained -\code{'Guido van Rossum <guido@cwi.nl>'} instead, it would yield the +\code{'Jack Jansen <jack@cwi.nl>'} instead, it would yield the exact same result. \end{funcdesc} |