File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
193193If the referent no longer exists, calling the reference object returns
194- \code {None}:
194+ \constant {None}:
195195
196196\begin {verbatim }
197197>>> del o, o2
You can’t perform that action at this time.
0 commit comments