From: Ka-Ping Yee Date: Fri, 28 Mar 2003 18:07:16 +0000 (+0000) Subject: PyWeakref_GetObject returns None (not NULL) when the referent is gone. X-Git-Tag: v2.3c1~1351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd379e9627af0c53b09693cf43f3b8bcaad39da0;p=python PyWeakref_GetObject returns None (not NULL) when the referent is gone. --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 93a7bd24a8..03f77b6fa0 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -2409,7 +2409,7 @@ acts as a proxy for the original object as much as it can. \begin{cfuncdesc}{PyObject*}{PyWeakref_GetObject}{PyObject *ref} Returns the referenced object from a weak reference, \var{ref}. If - the referent is no longer live, returns \NULL. + the referent is no longer live, returns \code{None}. \versionadded{2.2} \end{cfuncdesc}