[Python-checkins] python/dist/src/Doc/lib librfc822.tex,1.42,1.43

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Wed, 09 Oct 2002 15:33:26 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4374

Modified Files:
	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.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** librfc822.tex	25 Sep 2002 22:13:27 -0000	1.42
--- librfc822.tex	9 Oct 2002 22:33:23 -0000	1.43
***************
*** 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