diff options
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 2845d24..908bc42 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -174,13 +174,13 @@ Py_Initialize(void) _PyImportHooks_Init(); - PyModule_WarningsModule = PyImport_ImportModule("warnings"); - initsigs(); /* Signal handling stuff, including initintr() */ initmain(); /* Module __main__ */ if (!Py_NoSiteFlag) initsite(); /* Module site */ + + PyModule_WarningsModule = PyImport_ImportModule("warnings"); } #ifdef COUNT_ALLOCS |