MCPcopy Index your code
hub / github.com/python/cpython / Lazarus

Class Lazarus

Lib/test/test_gc.py:648–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646
647 storage = []
648 class Lazarus:
649 def __del__(self):
650 storage.append(self)
651
652 lazarus = Lazarus()
653 self.assertFalse(gc.is_finalized(lazarus))

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…