]> granicus.if.org Git - python/commitdiff
Clarify minor point about the ref() and proxy() constructors.
authorFred Drake <fdrake@acm.org>
Tue, 3 Feb 2004 19:44:26 +0000 (19:44 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 3 Feb 2004 19:44:26 +0000 (19:44 +0000)
This matches what is already documented for corresponding feature of the C API.

Doc/lib/libweakref.tex

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