[Python-checkins] python/dist/src/Doc/lib libweakref.tex, 1.19.8.3,
1.19.8.4
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Tue Feb 3 15:51:21 EST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16525
Modified Files:
Tag: release23-maint
libweakref.tex
Log Message:
Clarify minor point about the ref() and proxy() constructors.
This matches what is already documented for corresponding feature of the C API.
Index: libweakref.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libweakref.tex,v
retrieving revision 1.19.8.3
retrieving revision 1.19.8.4
diff -C2 -d -r1.19.8.3 -r1.19.8.4
*** libweakref.tex 27 Nov 2003 19:43:12 -0000 1.19.8.3
--- libweakref.tex 3 Feb 2004 20:50:45 -0000 1.19.8.4
***************
*** 58,63 ****
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
finalized; the weak reference object will be passed as the only
parameter to the callback; the referent will no longer be available.
--- 58,64 ----
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 \constant{None} to be returned. If \var{callback} is
! 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.
***************
*** 191,195 ****
If the referent no longer exists, calling the reference object returns
! \code{None}:
\begin{verbatim}
--- 192,196 ----
If the referent no longer exists, calling the reference object returns
! \constant{None}:
\begin{verbatim}
More information about the Python-checkins
mailing list