mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00: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