Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a48809

Browse files
committed
Correct *another* mistake (initmath() always fell through to fatal error).
Watch it, Barry! :-)
1 parent 4c4cbf3 commit 4a48809

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/mathmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ initmath()
254254
if (PyDict_SetItemString(d, "e", v) < 0)
255255
goto finally;
256256
Py_DECREF(v);
257+
return;
257258

258259
finally:
259260
Py_FatalError("can't initialize math module");

0 commit comments

Comments
 (0)