]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
minor markup adjustments
authorFred Drake <fdrake@acm.org>
Tue, 3 Feb 2004 20:55:15 +0000 (20:55 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 3 Feb 2004 20:55:15 +0000 (20:55 +0000)
Doc/lib/libweakref.tex

index fc889167f9f9c175cb2df2e5b604d33d73b8ed9f..c8d82a8895785b5d9fd1ebb9a56ef9ef7070fb86 100644 (file)
@@ -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