Commit 4458ece4 authored by Fred Drake's avatar Fred Drake

Clarify minor point about the ref() and proxy() constructors.

This matches what is already documented for corresponding feature of the C API.
parent ff83c2ba
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment