[Python-checkins] python/dist/src/Doc/lib emailmessage.tex, 1.13, 1.14 libcfgparser.tex, 1.32, 1.33 libos.tex, 1.132, 1.133 libsmtplib.tex, 1.25, 1.26

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed Dec 31 13:37:30 EST 2003


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

Modified Files:
	emailmessage.tex libcfgparser.tex libos.tex libsmtplib.tex 
Log Message:
SF patch #859286:  documentation bool change fix
(Contributed by George Yoshida.)



Index: emailmessage.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/emailmessage.tex,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** emailmessage.tex	31 Oct 2003 19:52:30 -0000	1.13
--- emailmessage.tex	31 Dec 2003 18:37:28 -0000	1.14
***************
*** 562,566 ****
  
  If the object's payload was already a list
! (i.e. \method{is_multipart()} returns 1), then \var{payload} is
  appended to the end of the existing payload list.
  
--- 562,566 ----
  
  If the object's payload was already a list
! (i.e. \method{is_multipart()} returns \code{True}), then \var{payload} is
  appended to the end of the existing payload list.
  

Index: libcfgparser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcfgparser.tex,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** libcfgparser.tex	15 Dec 2003 14:38:57 -0000	1.32
--- libcfgparser.tex	31 Dec 2003 18:37:28 -0000	1.33
***************
*** 166,171 ****
  
  \begin{methoddesc}{has_option}{section, option}
! If the given section exists, and contains the given option. return 1;
! otherwise return 0.
  \versionadded{1.6}
  \end{methoddesc}
--- 166,171 ----
  
  \begin{methoddesc}{has_option}{section, option}
! If the given section exists, and contains the given option,
! return \constant{True}; otherwise return \constant{False}.
  \versionadded{1.6}
  \end{methoddesc}
***************
*** 246,250 ****
  Remove the specified \var{option} from the specified \var{section}.
  If the section does not exist, raise \exception{NoSectionError}. 
! If the option existed to be removed, return 1; otherwise return 0.
  \versionadded{1.6}
  \end{methoddesc}
--- 246,251 ----
  Remove the specified \var{option} from the specified \var{section}.
  If the section does not exist, raise \exception{NoSectionError}. 
! If the option existed to be removed, return \constant{True};
! otherwise return \constant{False}.
  \versionadded{1.6}
  \end{methoddesc}

Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -d -r1.132 -r1.133
*** libos.tex	10 Nov 2003 06:46:15 -0000	1.132
--- libos.tex	31 Dec 2003 18:37:28 -0000	1.133
***************
*** 273,277 ****
  \end{funcdesc}
  
! % placed in this section since it relates to errno.... a little weak ;-(
  \begin{funcdesc}{strerror}{code}
  Return the error message corresponding to the error code in
--- 273,277 ----
  \end{funcdesc}
  
! % placed in this section since it relates to errno.... a little weak
  \begin{funcdesc}{strerror}{code}
  Return the error message corresponding to the error code in
***************
*** 617,621 ****
  to test the existence of \var{path}, or it can be the inclusive OR of
  one or more of \constant{R_OK}, \constant{W_OK}, and \constant{X_OK} to
! test permissions.  Return \code{1} if access is allowed, \code{0} if not.
  See the \UNIX{} man page \manpage{access}{2} for more information.
  Availability: \UNIX, Windows.
--- 617,622 ----
  to test the existence of \var{path}, or it can be the inclusive OR of
  one or more of \constant{R_OK}, \constant{W_OK}, and \constant{X_OK} to
! test permissions.  Return \constant{True} if access is allowed,
! \constant{False} if not.
  See the \UNIX{} man page \manpage{access}{2} for more information.
  Availability: \UNIX, Windows.

Index: libsmtplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsmtplib.tex,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** libsmtplib.tex	22 Sep 2003 06:25:10 -0000	1.25
--- libsmtplib.tex	31 Dec 2003 18:37:28 -0000	1.26
***************
*** 147,152 ****
  
  \begin{methoddesc}{has_extn}{name}
! Return \code{1} if \var{name} is in the set of SMTP service extensions
! returned by the server, \code{0} otherwise.  Case is ignored.
  \end{methoddesc}
  
--- 147,153 ----
  
  \begin{methoddesc}{has_extn}{name}
! Return \constant{True} if \var{name} is in the set of SMTP service
! extensions returned by the server, \constant{False} otherwise.
! Case is ignored.
  \end{methoddesc}
  





More information about the Python-checkins mailing list