diff options
Diffstat (limited to 'Python/pythonrun.c')
-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 39c86e7..3e40d51 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -239,11 +239,11 @@ Py_InitializeEx(int install_sigs) } initmain(); /* Module __main__ */ - if (!Py_NoSiteFlag) - initsite(); /* Module site */ if (initstdio() < 0) Py_FatalError( "Py_Initialize: can't initialize sys standard streams"); + if (!Py_NoSiteFlag) + initsite(); /* Module site */ /* auto-thread-state API, if available */ #ifdef WITH_THREAD |