summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-11-24 09:24:51 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-11-24 09:24:51 (GMT)
commit560da62fc75b1c3e38bea915ea648c4d895001a3 (patch)
tree04585ef5af4f39cf9eecec4f80d9ca42e8148ee4 /Doc
parent8c1ab14adac10799dc3defcb50f3976c74e85bbf (diff)
downloadcpython-560da62fc75b1c3e38bea915ea648c4d895001a3.zip
cpython-560da62fc75b1c3e38bea915ea648c4d895001a3.tar.gz
cpython-560da62fc75b1c3e38bea915ea648c4d895001a3.tar.bz2
Rename get_referents to get_referrers. Fixes #483815.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libgc.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libgc.tex b/Doc/lib/libgc.tex
index 05df021..6d1b519 100644
--- a/Doc/lib/libgc.tex
+++ b/Doc/lib/libgc.tex
@@ -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):