mirror of
https://github.com/python/cpython
synced 2026-09-28 10:28:18 +03:00
sys_update_path(): update sys.path even if argc==0
This commit is contained in:
parent
d960faec86
commit
07e4f1565b
1 changed files with 0 additions and 2 deletions
|
|
@ -1748,8 +1748,6 @@ sys_update_path(int argc, wchar_t **argv)
|
|||
if (path == NULL)
|
||||
return;
|
||||
|
||||
if (argc == 0)
|
||||
return;
|
||||
argv0 = argv[0];
|
||||
|
||||
#ifdef HAVE_READLINK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue