PyDocs

Nav

Development Tools

gc_collect

test.support

function
  • gc_collect()
Force as many objects as possible to be collected. This is needed because timely deallocation is not guaranteed by the garbage collector. This means that __del__ methods may be called later than expected and weakrefs may remain alive for longer than expected.
0 Examples
No examples for test.support/gc_collect.
See Also
No see-alsos for test.support/gc_collect
0 Notes
No notes for gc_collect