summaryrefslogtreecommitdiffstats
path: root/Doc/includes/run-func.c
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/run-func.c')
-rw-r--r--Doc/includes/run-func.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/run-func.c b/Doc/includes/run-func.c
index 5a7df0d..e4f5a27 100644
--- a/Doc/includes/run-func.c
+++ b/Doc/includes/run-func.c
@@ -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);