Kaydet (Commit) 0f9679d2 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #1170460.

Will backport to 2.4.
üst 8b8fb3db
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment