Get rid of more uses of string and use unicode

This commit is contained in:
Neal Norwitz 2007-10-27 04:00:45 +00:00
parent 841e122f0e
commit bed678449f
7 changed files with 18 additions and 21 deletions

View file

@ -13,7 +13,7 @@ main(int argc, char *argv[])
}
Py_Initialize();
pName = PyString_FromString(argv[1]);
pName = PyUnicode_FromString(argv[1]);
/* Error checking of pName left out */
pModule = PyImport_Import(pName);