diff options
Diffstat (limited to 'Python/pythonrun.c')
| -rw-r--r-- | Python/pythonrun.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 5a96bae059..460946804d 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -696,7 +696,11 @@ Py_EndInterpreter(PyThreadState *tstate)      PyInterpreterState_Delete(interp);  } +#ifdef MS_WINDOWS  static wchar_t *progname = L"python"; +#else +static wchar_t *progname = L"python3"; +#endif  void  Py_SetProgramName(wchar_t *pn) | 
