summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-28 15:29:28 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-03-28 15:29:28 (GMT)
commit0f9679d2b03b29cfcfd272f0d17bb1a6e88ae812 (patch)
tree7b6f3d50bdd21f36949a037aa2d10f37be84d4ec /Doc
parent8b8fb3db5a3dd7f2d2111d493f9dc94fff234eaa (diff)
downloadcpython-0f9679d2b03b29cfcfd272f0d17bb1a6e88ae812.zip
cpython-0f9679d2b03b29cfcfd272f0d17bb1a6e88ae812.tar.gz
cpython-0f9679d2b03b29cfcfd272f0d17bb1a6e88ae812.tar.bz2
Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #1170460.
Will backport to 2.4.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libgc.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libgc.tex b/Doc/lib/libgc.tex
index 30939f0..e53e2a8 100644
--- a/Doc/lib/libgc.tex
+++ b/Doc/lib/libgc.tex
@@ -14,7 +14,9 @@ collector supplements the reference counting already used in Python, you
can disable the collector if you are sure your program does not create
reference cycles. Automatic collection can be disabled by calling
\code{gc.disable()}. To debug a leaking program call
-\code{gc.set_debug(gc.DEBUG_LEAK)}.
+\code{gc.set_debug(gc.DEBUG_LEAK)}. Notice that this includes
+\code{gc.DEBUG_SAVEALL}, causing garbage-collected objects to be
+saved in gc.garbage for inspection.
The \module{gc} module provides the following functions: