From bd379e9627af0c53b09693cf43f3b8bcaad39da0 Mon Sep 17 00:00:00 2001 From: Ka-Ping Yee Date: Fri, 28 Mar 2003 18:07:16 +0000 Subject: PyWeakref_GetObject returns None (not NULL) when the referent is gone. --- Doc/api/concrete.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 93a7bd2..03f77b6 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} -- cgit v0.12