summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libweakref.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-02-03 20:55:15 (GMT)
committerFred Drake <fdrake@acm.org>2004-02-03 20:55:15 (GMT)
commit21ae4f983e3625cc16807c68952c6cd9fe44bb8b (patch)
tree1f2dbba59e74fafee6af993c247ca90cc5258730 /Doc/lib/libweakref.tex
parentea2adc9c8007c55420c0567ad3e0dd2a445893e6 (diff)
downloadcpython-21ae4f983e3625cc16807c68952c6cd9fe44bb8b.zip
cpython-21ae4f983e3625cc16807c68952c6cd9fe44bb8b.tar.gz
cpython-21ae4f983e3625cc16807c68952c6cd9fe44bb8b.tar.bz2
minor markup adjustments
Diffstat (limited to 'Doc/lib/libweakref.tex')
-rw-r--r--Doc/lib/libweakref.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libweakref.tex b/Doc/lib/libweakref.tex
index fc88916..c8d82a8 100644
--- a/Doc/lib/libweakref.tex
+++ b/Doc/lib/libweakref.tex
@@ -57,7 +57,7 @@ be made to support weak references; see section \ref{weakref-extension},
Return a weak reference to \var{object}. The original object can be
retrieved by calling the reference object if the referent is still
alive; if the referent is no longer alive, calling the reference
- object will cause \code{None} to be returned. If \var{callback} is
+ object will cause \constant{None} to be returned. If \var{callback} is
provided and not \constant{None},
it will be called when the object is about to be
finalized; the weak reference object will be passed as the only
@@ -191,7 +191,7 @@ True
\end{verbatim}
If the referent no longer exists, calling the reference object returns
-\code{None}:
+\constant{None}:
\begin{verbatim}
>>> del o, o2