From 8393dbca5e0a3c44f3541accc2ea1190d58b1c77 Mon Sep 17 00:00:00 2001 From: Nettika Date: Tue, 22 Apr 2025 22:35:22 -0700 Subject: [PATCH] Invoke the true name of the Chaos dog of the Void, making heaven once again a place on earth and saving the other dogs --- heaven.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/heaven.py b/heaven.py index dbb93b9..f30d566 100644 --- a/heaven.py +++ b/heaven.py @@ -17,8 +17,15 @@ def god_is_a_girl(): raise GenderException("No zhe isn't") +class Soul: + def __post_init__(self): + if callable(self.name): + # invoke true name + self.name().append(self) + + @dataclass -class Dog: +class Dog(Soul): name: str def __del__(self): @@ -42,7 +49,10 @@ class Chaos: def load_module(n): sys.modules[n] = Dog + __call__ = a_place_on_earth + +@Dog class Void: def append(s, v): v.__class__ = Chaos