diff options
author | Ka-Ping Yee <ping@zesty.ca> | 2003-03-28 18:07:16 (GMT) |
---|---|---|
committer | Ka-Ping Yee <ping@zesty.ca> | 2003-03-28 18:07:16 (GMT) |
commit | bd379e9627af0c53b09693cf43f3b8bcaad39da0 (patch) | |
tree | 95e9be6f063238bb966b63131ddb1cfefa876030 /Doc | |
parent | d9e213eecaf61f6e52b6d723633f2eec8c25905c (diff) | |
download | cpython-bd379e9627af0c53b09693cf43f3b8bcaad39da0.zip cpython-bd379e9627af0c53b09693cf43f3b8bcaad39da0.tar.gz cpython-bd379e9627af0c53b09693cf43f3b8bcaad39da0.tar.bz2 |
PyWeakref_GetObject returns None (not NULL) when the referent is gone.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/api/concrete.tex | 2 |
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} |