diff options
author | Fred Drake <fdrake@acm.org> | 2003-07-16 17:58:38 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-07-16 17:58:38 (GMT) |
commit | 853276e16d6dfc214fcb88b53fe07fba21b58120 (patch) | |
tree | 045f2919db1c5af62ae6de197b50d918929563a2 /Doc/lib/librfc822.tex | |
parent | 788617f8f024ac1d8e411b5c19066da0a1e68235 (diff) | |
download | cpython-853276e16d6dfc214fcb88b53fe07fba21b58120.zip cpython-853276e16d6dfc214fcb88b53fe07fba21b58120.tar.gz cpython-853276e16d6dfc214fcb88b53fe07fba21b58120.tar.bz2 |
Lots of markup cleanups to avoid warnings from the GNU info generation;
these make sense even without that processing chain.
Diffstat (limited to 'Doc/lib/librfc822.tex')
-rw-r--r-- | Doc/lib/librfc822.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/librfc822.tex b/Doc/lib/librfc822.tex index e8cad19..e32493c 100644 --- a/Doc/lib/librfc822.tex +++ b/Doc/lib/librfc822.tex @@ -255,10 +255,10 @@ there is no header matching \var{name}, or it is unparsable, return In particular: \code{\var{m}[name]} is like \code{\var{m}.getheader(name)} but raises \exception{KeyError} if there is no matching header; and \code{len(\var{m})}, -\code{\var{m}.get(\var{name}\optional{\var{, default}})}, +\code{\var{m}.get(\var{name}\optional{, \var{default}})}, \code{\var{m}.has_key(\var{name})}, \code{\var{m}.keys()}, \code{\var{m}.values()} \code{\var{m}.items()}, and -\code{\var{m}.setdefault(\var{name}\optional{\var{, default}})} act as +\code{\var{m}.setdefault(\var{name}\optional{, \var{default}})} act as expected, with the one difference that \method{setdefault()} uses an empty string as the default value. \class{Message} instances also support the mapping writable interface \code{\var{m}[name] = |