diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-09 18:15:00 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-09 18:15:00 (GMT) |
commit | 6b35370c6531147b35f5de43d193c39c69995a67 (patch) | |
tree | 9d76b3990be3288bcbbbe59dbb232bd63c6fa8bd /Doc/lib/libthread.tex | |
parent | 803a8ea47e79ba551296d04d94ab6fe3846bbbee (diff) | |
download | cpython-6b35370c6531147b35f5de43d193c39c69995a67.zip cpython-6b35370c6531147b35f5de43d193c39c69995a67.tar.gz cpython-6b35370c6531147b35f5de43d193c39c69995a67.tar.bz2 |
Update docs for bool changes by Guido around April 6
Diffstat (limited to 'Doc/lib/libthread.tex')
-rw-r--r-- | Doc/lib/libthread.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex index 328e9b7..227dd3d 100644 --- a/Doc/lib/libthread.tex +++ b/Doc/lib/libthread.tex @@ -82,8 +82,8 @@ reason for existence), and returns \code{None}. If the integer value: if it is zero, the lock is only acquired if it can be acquired 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. +return value is \code{True} if the lock is acquired successfully, +\code{False} if not. \end{methoddesc} \begin{methoddesc}[lock]{release}{} @@ -92,8 +92,8 @@ necessarily by the same thread. \end{methoddesc} \begin{methoddesc}[lock]{locked}{} -Return the status of the lock:\ \code{1} if it has been acquired by -some thread, \code{0} if not. +Return the status of the lock:\ \code{True} if it has been acquired by +some thread, \code{False} if not. \end{methoddesc} \strong{Caveats:} |