diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-25 17:37:23 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-25 17:37:23 (GMT) |
commit | 07e4f1565b8d922fe0df5cf3a15e113f7c562046 (patch) | |
tree | 45e3f8b584e12eb272f8999bc96daf33e46fa9d7 /Python | |
parent | d960faec867c56083116744db76c2d1bad51bc93 (diff) | |
download | cpython-07e4f1565b8d922fe0df5cf3a15e113f7c562046.zip cpython-07e4f1565b8d922fe0df5cf3a15e113f7c562046.tar.gz cpython-07e4f1565b8d922fe0df5cf3a15e113f7c562046.tar.bz2 |
sys_update_path(): update sys.path even if argc==0
Diffstat (limited to 'Python')
-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 6be2262..876e31e 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 |