diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-25 17:37:23 +0000 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-25 17:37:23 +0000 |
| commit | e5e2e0ac0400a76572f7f0cb6e14055767006828 (patch) | |
| tree | 6f9ae4de8e1be65557f49337caa86280ec0b38b5 /Python/sysmodule.c | |
| parent | 8dcea7080e0b623cd3a190bef6aa77ba728dc1c4 (diff) | |
| download | cpython-e5e2e0ac0400a76572f7f0cb6e14055767006828.tar.gz | |
sys_update_path(): update sys.path even if argc==0
Diffstat (limited to 'Python/sysmodule.c')
| -rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 6be2262c7b..876e31e830 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -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 |
