summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/mathmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 6570f15..1cf31bd 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -254,6 +254,7 @@ initmath()
if (PyDict_SetItemString(d, "e", v) < 0)
goto finally;
Py_DECREF(v);
+ return;
finally:
Py_FatalError("can't initialize math module");