From: Fred Drake Date: Tue, 3 Feb 2004 19:44:26 +0000 (+0000) Subject: Clarify minor point about the ref() and proxy() constructors. X-Git-Tag: v2.4a1~878 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4458ece4d7661ff3c76aea044779b7d235774cbb;p=python Clarify minor point about the ref() and proxy() constructors. This matches what is already documented for corresponding feature of the C API. --- diff --git a/Doc/lib/libweakref.tex b/Doc/lib/libweakref.tex index 12a12200c4..fc889167f9 100644 --- a/Doc/lib/libweakref.tex +++ b/Doc/lib/libweakref.tex @@ -58,7 +58,8 @@ be made to support weak references; see section \ref{weakref-extension}, 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 - provided, it will be called when the object is about to be + 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 parameter to the callback; the referent will no longer be available.