diff options
author | Georg Brandl <georg@python.org> | 2010-08-01 14:25:22 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-01 14:25:22 (GMT) |
commit | 272fc1023aa8e2eab7c369e6a5647915013459a3 (patch) | |
tree | 1a5648e286586456fada3f1074eff2aadcee6c93 /Demo/embed/loop.c | |
parent | 5b1d35b9c74d726536afdd60cf629fba5bd66425 (diff) | |
download | cpython-272fc1023aa8e2eab7c369e6a5647915013459a3.zip cpython-272fc1023aa8e2eab7c369e6a5647915013459a3.tar.gz cpython-272fc1023aa8e2eab7c369e6a5647915013459a3.tar.bz2 |
#6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.
Diffstat (limited to 'Demo/embed/loop.c')
-rw-r--r-- | Demo/embed/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/embed/loop.c b/Demo/embed/loop.c index 2f7fe62..4a341fd 100644 --- a/Demo/embed/loop.c +++ b/Demo/embed/loop.c @@ -19,7 +19,7 @@ main(int argc, char **argv) count = atoi(argv[2]); } - Py_SetProgramName(argv[0]); + Py_SetProgramName(L"loop"); /* uncomment this if you don't want to load site.py */ /* Py_NoSiteFlag = 1; */ |