From ccabed35eea413ca48c2babf01afae8a7518f5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= <martin@v.loewis.de>
Date: Thu, 27 Nov 2003 19:48:03 +0000
Subject: Patch #849350: Update to document bool return values. Backported to
 2.3.

---
 Doc/lib/libdoctest.tex  | 2 +-
 Doc/lib/liboperator.tex | 2 +-
 Doc/lib/libpprint.tex   | 2 +-
 Doc/lib/libweakref.tex  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Doc/lib/libdoctest.tex b/Doc/lib/libdoctest.tex
index a9ef835..e8983c9 100644
--- a/Doc/lib/libdoctest.tex
+++ b/Doc/lib/libdoctest.tex
@@ -411,7 +411,7 @@ is vulnerable!  One workaround is to do
 
 \begin{verbatim}
 >>> foo() == {"Hermione": "hippogryph", "Harry": "broomstick"}
-1
+True
 >>>
 \end{verbatim}
 
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex
index fbe14f5..e3aae60 100644
--- a/Doc/lib/liboperator.tex
+++ b/Doc/lib/liboperator.tex
@@ -249,7 +249,7 @@ measure of reliability with instance objects.  For example:}
 >>> import operator
 >>> o = C()
 >>> operator.isMappingType(o)
-1
+True
 \end{verbatim}
 
 \begin{funcdesc}{isCallable}{o}
diff --git a/Doc/lib/libpprint.tex b/Doc/lib/libpprint.tex
index 22ffd7b..66f64e2 100644
--- a/Doc/lib/libpprint.tex
+++ b/Doc/lib/libpprint.tex
@@ -111,7 +111,7 @@ recursive objects.
 
 \begin{verbatim}
 >>> pprint.isreadable(stuff)
-0
+False
 \end{verbatim}
 \end{funcdesc}
 
diff --git a/Doc/lib/libweakref.tex b/Doc/lib/libweakref.tex
index 6536048..4600f0a 100644
--- a/Doc/lib/libweakref.tex
+++ b/Doc/lib/libweakref.tex
@@ -186,7 +186,7 @@ referent to be obtained, if it still exists, by calling it:
 >>> r = weakref.ref(o)
 >>> o2 = r()
 >>> o is o2
-1
+True
 \end{verbatim}
 
 If the referent no longer exists, calling the reference object returns
-- 
cgit v0.12

