summaryrefslogtreecommitdiffstats
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-11-21 08:25:54 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-11-21 08:25:54 (GMT)
commitb57d9eac41125bc4a53a1ba9987ba776b4cc6680 (patch)
tree7dbacd56c88ba46115dbe2865c4657d9ee3702eb /Python/importdl.c
parent1fb1c998b2c5e0b97aa909688793e405dfea08f0 (diff)
downloadcpython-b57d9eac41125bc4a53a1ba9987ba776b4cc6680.zip
cpython-b57d9eac41125bc4a53a1ba9987ba776b4cc6680.tar.gz
cpython-b57d9eac41125bc4a53a1ba9987ba776b4cc6680.tar.bz2
Issue #28748: Private variable _Py_PackageContext is now of type "const char *"
rather of "char *".
Diffstat (limited to 'Python/importdl.c')
-rw-r--r--Python/importdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index f56fa94..d8656b9 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -94,7 +94,7 @@ _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp)
#endif
PyObject *name_unicode = NULL, *name = NULL, *path = NULL, *m = NULL;
const char *name_buf, *hook_prefix;
- char *oldcontext;
+ const char *oldcontext;
dl_funcptr exportfunc;
PyModuleDef *def;
PyObject *(*p0)(void);