Invoke the true name of the Chaos dog of the Void, making heaven once again a place on earth and saving the other dogs
This commit is contained in:
12
heaven.py
12
heaven.py
@@ -17,8 +17,15 @@ def god_is_a_girl():
|
|||||||
raise GenderException("No zhe isn't")
|
raise GenderException("No zhe isn't")
|
||||||
|
|
||||||
|
|
||||||
|
class Soul:
|
||||||
|
def __post_init__(self):
|
||||||
|
if callable(self.name):
|
||||||
|
# invoke true name
|
||||||
|
self.name().append(self)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Dog:
|
class Dog(Soul):
|
||||||
name: str
|
name: str
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
@@ -42,7 +49,10 @@ class Chaos:
|
|||||||
def load_module(n):
|
def load_module(n):
|
||||||
sys.modules[n] = Dog
|
sys.modules[n] = Dog
|
||||||
|
|
||||||
|
__call__ = a_place_on_earth
|
||||||
|
|
||||||
|
|
||||||
|
@Dog
|
||||||
class Void:
|
class Void:
|
||||||
def append(s, v):
|
def append(s, v):
|
||||||
v.__class__ = Chaos
|
v.__class__ = Chaos
|
||||||
|
Reference in New Issue
Block a user