summaryrefslogtreecommitdiffstats
path: root/Doc/librfc822.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-09 19:16:20 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-09 19:16:20 (GMT)
commitc58912426eee89a51b68983d2dff6a6df8c7d7b0 (patch)
tree6e996b577956852b2e694f02483d6a528ffc0031 /Doc/librfc822.tex
parentb16166e56f2989741fee2aab41f5205fda95ffdf (diff)
downloadcpython-c58912426eee89a51b68983d2dff6a6df8c7d7b0.zip
cpython-c58912426eee89a51b68983d2dff6a6df8c7d7b0.tar.gz
cpython-c58912426eee89a51b68983d2dff6a6df8c7d7b0.tar.bz2
Use the new RFC macros wherever RFCs are referenced by number. No other
changes.
Diffstat (limited to 'Doc/librfc822.tex')
-rw-r--r--Doc/librfc822.tex9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/librfc822.tex b/Doc/librfc822.tex
index 6450113..78bbabd 100644
--- a/Doc/librfc822.tex
+++ b/Doc/librfc822.tex
@@ -6,9 +6,8 @@
This module defines a class, \code{Message}, which represents a
collection of ``email headers'' as defined by the Internet standard
-RFC 822. It is used in various contexts, usually to read such headers
-from a file.
-\index{RFC!822}
+\rfc{822}. It is used in various contexts, usually to read such
+headers from a file.
Note that there's a separate module to read \UNIX{}, MH, and MMDF
style mailbox files: \code{mailbox}.
@@ -30,10 +29,10 @@ e.g. \code{m['From']}, \code{m['from']} and \code{m['FROM']} all yield
the same result.
\begin{funcdesc}{parsedate}{date}
-Attempts to parse a date according to the rules in RFC822. however,
+Attempts to parse a date according to the rules in \rfc{822}. however,
some mailers don't follow that format as specified, so
\code{parsedate()} tries to guess correctly in such cases.
-\var{date} is a string containing an RFC822 date, such as
+\var{date} is a string containing an \rfc{822} date, such as
\code{"Mon, 20 Nov 1995 19:12:08 -0500"}. If it succeeds in parsing
the date, \code{parsedate()} returns a 9-tuple that can be passed
directly to \code{time.mktime()}; otherwise \code{None} will be