summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2017-05-25 17:05:50 (GMT)
committerGitHub <noreply@github.com>2017-05-25 17:05:50 (GMT)
commit18c1356ff6eac1d366346fd45b71a351c588d805 (patch)
tree99c571c7ee733ec18b7d89b1f974aa93db315a0b /Python
parentbc50f03db4f58c869b78e98468e374d7e61f1227 (diff)
downloadcpython-18c1356ff6eac1d366346fd45b71a351c588d805.zip
cpython-18c1356ff6eac1d366346fd45b71a351c588d805.tar.gz
cpython-18c1356ff6eac1d366346fd45b71a351c588d805.tar.bz2
Drop a duplicate line. (#1809)
Diffstat (limited to 'Python')
-rw-r--r--Python/pylifecycle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index fd04b82..048c2b2 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -594,11 +594,10 @@ int _Py_InitializeMainInterpreter(const _PyMainInterpreterConfig *config)
/* Finish setting up the sys module and import system */
/* GetPath may initialize state that _PySys_EndInit locks
in, and so has to be called first. */
+ /* TODO: Call Py_GetPath() in Py_ReadConfig, rather than here */
PySys_SetPath(Py_GetPath());
if (_PySys_EndInit(interp->sysdict) < 0)
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);
/* initialize the faulthandler module */