summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libimp.tex
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-09 18:15:00 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-09 18:15:00 (GMT)
commit6b35370c6531147b35f5de43d193c39c69995a67 (patch)
tree9d76b3990be3288bcbbbe59dbb232bd63c6fa8bd /Doc/lib/libimp.tex
parent803a8ea47e79ba551296d04d94ab6fe3846bbbee (diff)
downloadcpython-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/libimp.tex')
-rw-r--r--Doc/lib/libimp.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex
index 972128f..150f5b4 100644
--- a/Doc/lib/libimp.tex
+++ b/Doc/lib/libimp.tex
@@ -94,8 +94,8 @@ Return a new empty module object called \var{name}. This object is
\end{funcdesc}
\begin{funcdesc}{lock_held}{}
-Return 1 if the import lock is currently held, else 0.
-On platforms without threads, always return 0.
+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
lock until the import is complete.
@@ -174,8 +174,8 @@ module called \var{name}.
\end{funcdesc}
\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
+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}