mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
PyWeakref_GetObject returns None (not NULL) when the referent is gone.
This commit is contained in:
parent
d9e213eeca
commit
bd379e9627
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue