[Python-checkins] python/dist/src/Doc/lib libchunk.tex,1.4,1.5 libimp.tex,1.31,1.32 librfc822.tex,1.39,1.40 libstdtypes.tex,1.84,1.85 libthread.tex,1.24,1.25 libzipfile.tex,1.13,1.14

nnorwitz@sourceforge.net nnorwitz@sourceforge.net
Tue, 09 Apr 2002 11:15:02 -0700


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

Modified Files:
	libchunk.tex libimp.tex librfc822.tex libstdtypes.tex 
	libthread.tex libzipfile.tex 
Log Message:
Update docs for bool changes by Guido around April 6

Index: libchunk.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libchunk.tex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** libchunk.tex	16 Jul 2000 19:01:09 -0000	1.4
--- libchunk.tex	9 Apr 2002 18:14:59 -0000	1.5
***************
*** 79,83 ****
  
  \begin{methoddesc}{isatty}{}
! Returns \code{0}.
  \end{methoddesc}
  
--- 79,83 ----
  
  \begin{methoddesc}{isatty}{}
! Returns \code{False}.
  \end{methoddesc}
  

Index: libimp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libimp.tex,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** libimp.tex	8 Apr 2002 05:22:30 -0000	1.31
--- libimp.tex	9 Apr 2002 18:14:59 -0000	1.32
***************
*** 95,100 ****
  
  \begin{funcdesc}{lock_held}{}
! Return 1 if the import lock is currently held, else 0.
! On platforms without threads, always return 0.
  
  On platforms with threads, a thread executing an import holds an internal
--- 95,100 ----
  
  \begin{funcdesc}{lock_held}{}
! Return \code{True} if the import lock is currently held, else \code{False}.
! On platforms without threads, always return \code{False}.
  
  On platforms with threads, a thread executing an import holds an internal
***************
*** 175,180 ****
  
  \begin{funcdesc}{is_frozen}{name}
! Return \code{1} if there is a frozen module (see
! \function{init_frozen()}) called \var{name}, or \code{0} if there is
  no such module.
  \end{funcdesc}
--- 175,180 ----
  
  \begin{funcdesc}{is_frozen}{name}
! Return \code{True} if there is a frozen module (see
! \function{init_frozen()}) called \var{name}, or \code{False} if there is
  no such module.
  \end{funcdesc}

Index: librfc822.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librfc822.tex,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** librfc822.tex	5 Jan 2002 01:52:41 -0000	1.39
--- librfc822.tex	9 Apr 2002 18:14:59 -0000	1.40
***************
*** 157,162 ****
  
  \begin{methoddesc}{iscomment}{line}
! Return true if the given line should be ignored entirely, just skipped.
! By default this is a stub that always returns false, but you can
  override it in a subclass.
  \end{methoddesc}
--- 157,162 ----
  
  \begin{methoddesc}{iscomment}{line}
! Return \code{True} if the given line should be ignored entirely, just skipped.
! By default this is a stub that always returns \code{False}, but you can
  override it in a subclass.
  \end{methoddesc}

Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.84
retrieving revision 1.85
diff -C2 -d -r1.84 -r1.85
*** libstdtypes.tex	3 Apr 2002 22:41:50 -0000	1.84
--- libstdtypes.tex	9 Apr 2002 18:14:59 -0000	1.85
***************
*** 1073,1078 ****
  
  \begin{methoddesc}[file]{isatty}{}
!   Return true if the file is connected to a tty(-like) device, else
!   false.  \note{If a file-like object is not associated
    with a real file, this method should \emph{not} be implemented.}
  \end{methoddesc}
--- 1073,1078 ----
  
  \begin{methoddesc}[file]{isatty}{}
!   Return \code{True} if the file is connected to a tty(-like) device, else
!   \code{False}.  \note{If a file-like object is not associated
    with a real file, this method should \emph{not} be implemented.}
  \end{methoddesc}
***************
*** 1194,1198 ****
  
  \begin{memberdesc}[file]{closed}
! Boolean indicating the current state of the file object.  This is a
  read-only attribute; the \method{close()} method changes the value.
  It may not be available on all file-like objects.
--- 1194,1198 ----
  
  \begin{memberdesc}[file]{closed}
! bool indicating the current state of the file object.  This is a
  read-only attribute; the \method{close()} method changes the value.
  It may not be available on all file-like objects.

Index: libthread.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libthread.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** libthread.tex	28 Nov 2001 07:26:15 -0000	1.24
--- libthread.tex	9 Apr 2002 18:15:00 -0000	1.25
***************
*** 83,88 ****
  immediately without waiting, while if it is nonzero, the lock is
  acquired unconditionally as before.  If an argument is present, the
! return value is \code{1} if the lock is acquired successfully,
! \code{0} if not.
  \end{methoddesc}
  
--- 83,88 ----
  immediately without waiting, while if it is nonzero, the lock is
  acquired unconditionally as before.  If an argument is present, the
! return value is \code{True} if the lock is acquired successfully,
! \code{False} if not.
  \end{methoddesc}
  
***************
*** 93,98 ****
  
  \begin{methoddesc}[lock]{locked}{}
! Return the status of the lock:\ \code{1} if it has been acquired by
! some thread, \code{0} if not.
  \end{methoddesc}
  
--- 93,98 ----
  
  \begin{methoddesc}[lock]{locked}{}
! Return the status of the lock:\ \code{True} if it has been acquired by
! some thread, \code{False} if not.
  \end{methoddesc}
  

Index: libzipfile.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libzipfile.tex,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** libzipfile.tex	14 Jan 2002 08:37:39 -0000	1.13
--- libzipfile.tex	9 Apr 2002 18:15:00 -0000	1.14
***************
*** 49,54 ****
  
  \begin{funcdesc}{is_zipfile}{filename}
!   Returns true if \var{filename} is a valid ZIP file based on its magic
!   number, otherwise returns false.  This module does not currently
    handle ZIP files which have appended comments.
  \end{funcdesc}
--- 49,54 ----
  
  \begin{funcdesc}{is_zipfile}{filename}
!   Returns \code{True} if \var{filename} is a valid ZIP file based on its magic
!   number, otherwise returns \code{False}.  This module does not currently
    handle ZIP files which have appended comments.
  \end{funcdesc}