Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libweakref.tex @ 31446:97bcf2e88ceb legacy-trunk
Clarify minor point about the ref() and proxy() constructors.
This matches what is already documented for corresponding feature of the C API.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 03 Feb 2004 19:44:26 +0000 |
| parents | 1dc2659ed9fc |
| children | bb7146d117fb |
line wrap: on
line diff
--- a/Doc/lib/libweakref.tex Mon Feb 02 13:39:01 2004 +0000 +++ b/Doc/lib/libweakref.tex Tue Feb 03 19:44:26 2004 +0000 @@ -58,7 +58,8 @@ 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.
