Files
heaven/heaven.py
2025-04-22 22:19:14 -07:00

23 lines
305 B
Python

from dataclasses import dataclass
class a_place_on_earth(list): ...
@dataclass
class Dog:
name: str
def __del__(self):
global heaven
heaven.append(self)
heaven = a_place_on_earth()
if __name__ == "__main__":
Dog("Fido")
Dog("Rex")
Dog("Spot")
print(heaven)