diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-14 15:54:07 -0400 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-14 15:54:07 -0400 |
| commit | fefd70c40d16b779a4c378a795b5577470af07d8 (patch) | |
| tree | 3967bf0de03825f3fa6e6a0e7adf920e7a278c91 /Python/importdl.h | |
| parent | 4d6c1c476aee975867c5375f9fc175f69d4b6266 (diff) | |
| download | cpython-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.h | 2 |
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" */ |
