]> granicus.if.org Git - python/commit
As a side effect of calling PySys_SetArgv (setpythonargv), the
authorGuido van Rossum <guido@python.org>
Wed, 24 Jul 1996 01:31:37 +0000 (01:31 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 24 Jul 1996 01:31:37 +0000 (01:31 +0000)
commita63d9f4d9fdd4d659d80628e4429129351fc61cb
tree38992eb593e953b6ebd0b38d834e1783079572d2
parent3b8e20d2c2022f49376578f230ea1cbb54f694f7
As a side effect of calling PySys_SetArgv (setpythonargv), the
directory containing argv[0] is inserted in front of sys.path.
If argv[0] contains no directory, an empty string is inserted.
If argv is empty, nothing happens.
Python/sysmodule.c