Carlislify heaven
This commit is contained in:
parent
4a4497bf8e
commit
4da77c2757
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
|||
from dataclasses import dataclass
|
||||
|
||||
|
||||
class a_place_on_earth(list): ...
|
||||
|
||||
|
||||
@dataclass
|
||||
class Dog:
|
||||
name: str
|
||||
|
|
@ -10,7 +13,7 @@ class Dog:
|
|||
heaven.append(self)
|
||||
|
||||
|
||||
heaven = []
|
||||
heaven = a_place_on_earth()
|
||||
|
||||
if __name__ == "__main__":
|
||||
Dog("Fido")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue