[Python-checkins] CVS: python/dist/src/Doc/lib librfc822.tex,1.37,1.38

Fred L. Drake fdrake@users.sourceforge.net
Thu, 06 Sep 2001 08:07:57 -0700


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

Modified Files:
	librfc822.tex 
Log Message:
Document the "unixfrom" attribute of the rfc822.Message class.
Based on a patch by Skip Montanaro, this closes SF bug #458885.


Index: librfc822.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librfc822.tex,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** librfc822.tex	2001/08/03 18:39:36	1.37
--- librfc822.tex	2001/09/06 15:07:55	1.38
***************
*** 262,266 ****
  2.2.)
  
! Finally, \class{Message} instances have two public instance variables:
  
  \begin{memberdesc}{headers}
--- 262,266 ----
  2.2.)
  
! Finally, \class{Message} instances have some public instance variables:
  
  \begin{memberdesc}{headers}
***************
*** 274,277 ****
--- 274,283 ----
  The file or file-like object passed at instantiation time.  This can
  be used to read the message content.
+ \end{memberdesc}
+ 
+ \begin{memberdesc}{unixfrom}
+ The \UNIX{} \samp{From~} line, if the message had one, or an empty
+ string.  This is needed to regenerate the message in some contexts,
+ such as an \code{mbox}-style mailbox file.
  \end{memberdesc}