PYME.misc.findCycles module

PYME.misc.findCycles.print_cycles(objects, outstream=<open file '<stdout>', mode 'w'>, show_progress=False)
objects: A list of objects to find cycles in. It is often useful
to pass in gc.garbage to find the cycles that are preventing some objects from being garbage collected.

outstream: The stream for output. show_progress: If True, print the number of objects reached as they are

found.