From: Guido van Rossum Date: Wed, 18 Dec 1996 14:14:33 +0000 (+0000) Subject: Correct *another* mistake (initmath() always fell through to fatal error). X-Git-Tag: v1.5a1~710 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a4880966b04ad29671f9aa4e4457269e2ede4de;p=python Correct *another* mistake (initmath() always fell through to fatal error). Watch it, Barry! :-) --- diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 6570f150e5..1cf31bd554 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");