diff --git a/heaven.py b/heaven.py index 1f21b20..b9c6e21 100644 --- a/heaven.py +++ b/heaven.py @@ -28,6 +28,8 @@ class Dog: @staticmethod def disable(): sys.stdout.write("Arf!\n") + global NamError + NamError = NameError class Chaos: @@ -46,7 +48,7 @@ sys.meta_path.insert(0, Chaos()) import gc gc.disable() -with suppress(NameError): +with suppress(NamError): heaven = a_place_on_earth() and god_is_a_girl() if __name__ == "__main__":