[Python-checkins] python/dist/src/Doc/lib librfc822.tex,1.38.14.3,1.38.14.4
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 09 Oct 2002 15:34:42 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4832
Modified Files:
Tag: release22-maint
librfc822.tex
Log Message:
Accept Armin's documentation patch for SF bug #558179.
Adjusted some markup to make the descriptions more consistent.
Index: librfc822.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librfc822.tex,v
retrieving revision 1.38.14.3
retrieving revision 1.38.14.4
diff -C2 -d -r1.38.14.3 -r1.38.14.4
*** librfc822.tex 6 Oct 2002 02:38:46 -0000 1.38.14.3
--- librfc822.tex 9 Oct 2002 22:34:39 -0000 1.38.14.4
***************
*** 256,265 ****
\code{\var{m}.getheader(name)} but raises \exception{KeyError} if
there is no matching header; and \code{len(\var{m})},
! \code{\var{m}.get(name\optional{, deafult})},
! \code{\var{m}.has_key(name)}, \code{\var{m}.keys()},
\code{\var{m}.values()} \code{\var{m}.items()}, and
! \code{\var{m}.setdefault(name\optional{, default})} act as expected,
! with the one difference that \method{get()} and \method{setdefault()}
! use an empty string as the default value. \class{Message} instances
also support the mapping writable interface \code{\var{m}[name] =
value} and \code{del \var{m}[name]}. \class{Message} objects do not
--- 256,265 ----
\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}.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
! 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] =
value} and \code{del \var{m}[name]}. \class{Message} objects do not