summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r--Python/initconfig.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index caa9bf5f568..74c9ca007ed 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -2198,10 +2198,6 @@ config_update_argv(PyConfig *config, Py_ssize_t opt_index)
/* Force sys.argv[0] = '-m'*/
arg0 = L"-m";
}
- else if (config->run_filename != NULL) {
- /* run_filename is converted to an absolute path: update argv */
- arg0 = config->run_filename;
- }
if (arg0 != NULL) {
arg0 = _PyMem_RawWcsdup(arg0);