]> granicus.if.org Git - python/commitdiff
Correct *another* mistake (initmath() always fell through to fatal error).
authorGuido van Rossum <guido@python.org>
Wed, 18 Dec 1996 14:14:33 +0000 (14:14 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 18 Dec 1996 14:14:33 +0000 (14:14 +0000)
Watch it, Barry! :-)

Modules/mathmodule.c

index 6570f150e53a9698ac13a01abc523b1b89f524be..1cf31bd55465b69a6fe7683a3a8e4ebb01265382 100644 (file)
@@ -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");