Martin von Löwis  committed 5caf80f

Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #1170460.

  • Participants
  • Parent commits a50ffe6
  • Branches 2.4

Comments (0)

Files changed (1)

File Doc/lib/libgc.tex

 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)}. 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: