bundles / numpy latest / numpy / testing / _private / utils / break_cycles
function
numpy.testing._private.utils:break_cycles
source: build-install/usr/lib/python3.14/site-packages/numpy/testing/_private/utils.py :2654
Signature
def break_cycles ( ) Summary
Break reference cycles by calling gc.collect Objects can call other objects' methods (for instance, another object's __del__) inside their own __del__. On PyPy, the interpreter only runs between calls to gc.collect, so multiple calls are needed to completely release all cycles.
Aliases
-
numpy.testing.break_cycles