summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libweakref.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-11-27 19:48:03 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-11-27 19:48:03 (GMT)
commitccabed35eea413ca48c2babf01afae8a7518f5c7 (patch)
tree23a0be91c22cf057570418c1945905619c768445 /Doc/lib/libweakref.tex
parent94681fc4a35be6a87ceae0daeb687a711699806b (diff)
downloadcpython-ccabed35eea413ca48c2babf01afae8a7518f5c7.zip
cpython-ccabed35eea413ca48c2babf01afae8a7518f5c7.tar.gz
cpython-ccabed35eea413ca48c2babf01afae8a7518f5c7.tar.bz2
Patch #849350: Update to document bool return values. Backported to 2.3.
Diffstat (limited to 'Doc/lib/libweakref.tex')
-rw-r--r--Doc/lib/libweakref.tex2
1 files changed, 1 insertions, 1 deletions
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