PYME.misc.findCycles module

PYME.misc.findCycles.print_cycles(objects, outstream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>, 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.