From 2513acf55b7dd5ab5267c97d20f5d51c51d5f19c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 28 Mar 2005 15:29:29 +0000 Subject: Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #1170460. --- Doc/lib/libgc.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- cgit v0.12