Skip to content

Commit 8b237f4

Browse files
author
fdrake
committed
minor markup adjustments
git-svn-id: http://svn.python.org/projects/python/trunk@35202 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 3867ac0 commit 8b237f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/lib/libweakref.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ \section{\module{weakref} ---
5757
Return a weak reference to \var{object}. The original object can be
5858
retrieved by calling the reference object if the referent is still
5959
alive; if the referent is no longer alive, calling the reference
60-
object will cause \code{None} to be returned. If \var{callback} is
60+
object will cause \constant{None} to be returned. If \var{callback} is
6161
provided and not \constant{None},
6262
it will be called when the object is about to be
6363
finalized; the weak reference object will be passed as the only
@@ -191,7 +191,7 @@ \subsection{Weak Reference Objects
191191
\end{verbatim}
192192

193193
If the referent no longer exists, calling the reference object returns
194-
\code{None}:
194+
\constant{None}:
195195

196196
\begin{verbatim}
197197
>>> del o, o2

0 commit comments

Comments
 (0)