mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Rename get_referents to get_referrers. Fixes #483815.
This commit is contained in:
parent
8c1ab14ada
commit
560da62fc7
3 changed files with 23 additions and 12 deletions
|
@ -78,6 +78,13 @@ Return the current collection thresholds as a tuple of
|
|||
\code{(\var{threshold0}, \var{threshold1}, \var{threshold2})}.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{get_referrers}{*objs}
|
||||
Return the list of objects that directly refer to any of objs. This
|
||||
function will only locate those containers which support garbage
|
||||
collection; extension types which do refer to other objects but do not
|
||||
support garbage collection will not be found.
|
||||
\versionadded{2.2}
|
||||
\end{funcdesc}
|
||||
|
||||
The following variable is provided for read-only access (you can
|
||||
mutate its value but should not rebind it):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue