PyDocs

Nav

Python Runtime Services

callbacks

gc

data · Added in 3.3
A list of callbacks that will be invoked by the garbage collector before and after collection. The callbacks will be called with two arguments, phase and info.
Changed in 3.15
  • 3.15: Add “duration” and “candidates”.
0 Examples
No examples for gc/callbacks.
See Also
No see-alsos for gc/callbacks
0 Notes
No notes for callbacks