summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-18 14:14:33 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-18 14:14:33 (GMT)
commit4a4880966b04ad29671f9aa4e4457269e2ede4de (patch)
treea3997888f72632117cf1f1383ed8ac65960e8bc0
parent4c4cbf397ba676b3a38e40d3a301b2d23d9efc52 (diff)
downloadcpython-4a4880966b04ad29671f9aa4e4457269e2ede4de.zip
cpython-4a4880966b04ad29671f9aa4e4457269e2ede4de.tar.gz
cpython-4a4880966b04ad29671f9aa4e4457269e2ede4de.tar.bz2
Correct *another* mistake (initmath() always fell through to fatal error).
Watch it, Barry! :-)
-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");