mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Drop a duplicate line. (#1809)
This commit is contained in:
parent
bc50f03db4
commit
18c1356ff6
1 changed files with 1 additions and 2 deletions
|
@ -594,11 +594,10 @@ int _Py_InitializeMainInterpreter(const _PyMainInterpreterConfig *config)
|
||||||
/* Finish setting up the sys module and import system */
|
/* Finish setting up the sys module and import system */
|
||||||
/* GetPath may initialize state that _PySys_EndInit locks
|
/* GetPath may initialize state that _PySys_EndInit locks
|
||||||
in, and so has to be called first. */
|
in, and so has to be called first. */
|
||||||
|
/* TODO: Call Py_GetPath() in Py_ReadConfig, rather than here */
|
||||||
PySys_SetPath(Py_GetPath());
|
PySys_SetPath(Py_GetPath());
|
||||||
if (_PySys_EndInit(interp->sysdict) < 0)
|
if (_PySys_EndInit(interp->sysdict) < 0)
|
||||||
Py_FatalError("Py_InitializeMainInterpreter: can't finish initializing sys");
|
Py_FatalError("Py_InitializeMainInterpreter: can't finish initializing sys");
|
||||||
/* TODO: Call Py_GetPath() in Py_ReadConfig, rather than here */
|
|
||||||
PySys_SetPath(Py_GetPath());
|
|
||||||
initexternalimport(interp);
|
initexternalimport(interp);
|
||||||
|
|
||||||
/* initialize the faulthandler module */
|
/* initialize the faulthandler module */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue