MCPcopy Index your code
hub / github.com/RustPython/RustPython / Lazarus

Class Lazarus

Lib/test/test_gc.py:652–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650
651 storage = []
652 class Lazarus:
653 def __del__(self):
654 storage.append(self)
655
656 lazarus = Lazarus()
657 self.assertFalse(gc.is_finalized(lazarus))

Calls

no outgoing calls