summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKa-Ping Yee <ping@zesty.ca>2003-03-28 18:07:16 (GMT)
committerKa-Ping Yee <ping@zesty.ca>2003-03-28 18:07:16 (GMT)
commitbd379e9627af0c53b09693cf43f3b8bcaad39da0 (patch)
tree95e9be6f063238bb966b63131ddb1cfefa876030
parentd9e213eecaf61f6e52b6d723633f2eec8c25905c (diff)
downloadcpython-bd379e9627af0c53b09693cf43f3b8bcaad39da0.zip
cpython-bd379e9627af0c53b09693cf43f3b8bcaad39da0.tar.gz
cpython-bd379e9627af0c53b09693cf43f3b8bcaad39da0.tar.bz2
PyWeakref_GetObject returns None (not NULL) when the referent is gone.
-rw-r--r--Doc/api/concrete.tex2
1 files changed, 1 insertions, 1 deletions
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}