summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-14 15:54:07 -0400
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-14 15:54:07 -0400
commitfefd70c40d16b779a4c378a795b5577470af07d8 (patch)
tree3967bf0de03825f3fa6e6a0e7adf920e7a278c91 /Python/importdl.h
parent4d6c1c476aee975867c5375f9fc175f69d4b6266 (diff)
downloadcpython-git-fefd70c40d16b779a4c378a795b5577470af07d8.tar.gz
Issue #3080: _PyImport_LoadDynamicModule() uses Unicode for name and path
Document also that dynamic module names are ASCII only
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index b4d21be6f0..e51e551ff9 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -28,7 +28,7 @@ struct filedescr {
extern struct filedescr * _PyImport_Filetab;
extern const struct filedescr _PyImport_DynLoadFiletab[];
-extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
+extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname,
FILE *);
/* Max length of module suffix searched for -- accommodates "module.slb" */