diff options
author | Fred Drake <fdrake@acm.org> | 2004-02-03 19:44:26 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-02-03 19:44:26 (GMT) |
commit | 4458ece4d7661ff3c76aea044779b7d235774cbb (patch) | |
tree | dbf177d076415ddfba58d4f482564b8ce0867766 /Doc/lib/libweakref.tex | |
parent | ff83c2bacc2acd782d20b589a02420df571b89a2 (diff) | |
download | cpython-4458ece4d7661ff3c76aea044779b7d235774cbb.zip cpython-4458ece4d7661ff3c76aea044779b7d235774cbb.tar.gz cpython-4458ece4d7661ff3c76aea044779b7d235774cbb.tar.bz2 |
Clarify minor point about the ref() and proxy() constructors.
This matches what is already documented for corresponding feature of the C API.
Diffstat (limited to 'Doc/lib/libweakref.tex')
-rw-r--r-- | Doc/lib/libweakref.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libweakref.tex b/Doc/lib/libweakref.tex index 12a1220..fc88916 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. |