Carlislify heaven
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
|
||||||
|
class a_place_on_earth(list): ...
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Dog:
|
class Dog:
|
||||||
name: str
|
name: str
|
||||||
@@ -10,7 +13,7 @@ class Dog:
|
|||||||
heaven.append(self)
|
heaven.append(self)
|
||||||
|
|
||||||
|
|
||||||
heaven = []
|
heaven = a_place_on_earth()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
Dog("Fido")
|
Dog("Fido")
|
||||||
|
Reference in New Issue
Block a user