]> granicus.if.org Git - python/commitdiff
PyWeakref_GetObject returns None (not NULL) when the referent is gone.
authorKa-Ping Yee <ping@zesty.ca>
Fri, 28 Mar 2003 18:07:16 +0000 (18:07 +0000)
committerKa-Ping Yee <ping@zesty.ca>
Fri, 28 Mar 2003 18:07:16 +0000 (18:07 +0000)
Doc/api/concrete.tex

index 93a7bd24a87f326b76704da6103e1721a28ffc82..03f77b6fa071f2931f2fde56676e1f9cebd30f5a 100644 (file)
@@ -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}