summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-07-10 19:21:07 (GMT)
committerFred Drake <fdrake@acm.org>2002-07-10 19:21:07 (GMT)
commite4523c46b9430a29d00995a50b723536cebbd18c (patch)
tree222bae182096b19431e678c45f078bc9aac90a77 /Doc/lib
parenta788f5ef028d30f03e43932abb4650d502433c83 (diff)
downloadcpython-e4523c46b9430a29d00995a50b723536cebbd18c.zip
cpython-e4523c46b9430a29d00995a50b723536cebbd18c.tar.gz
cpython-e4523c46b9430a29d00995a50b723536cebbd18c.tar.bz2
Document gc.get_objects().
Closes SF bug #578308.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libgc.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libgc.tex b/Doc/lib/libgc.tex
index 67ac64f..310c582 100644
--- a/Doc/lib/libgc.tex
+++ b/Doc/lib/libgc.tex
@@ -51,6 +51,12 @@ operations to control debugging.
Return the debugging flags currently set.
\end{funcdesc}
+\begin{funcdesc}{get_objects}{}
+Returns a list of all objects tracked by the collector, excluding the
+list returned.
+\versionadded{2.2}
+\end{funcdesc}
+
\begin{funcdesc}{set_threshold}{threshold0\optional{,
threshold1\optional{, threshold2}}}
Set the garbage collection thresholds (the collection frequency).