diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-21 08:25:54 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-21 08:25:54 (GMT) |
commit | b57d9eac41125bc4a53a1ba9987ba776b4cc6680 (patch) | |
tree | 7dbacd56c88ba46115dbe2865c4657d9ee3702eb /Python/modsupport.c | |
parent | 1fb1c998b2c5e0b97aa909688793e405dfea08f0 (diff) | |
download | cpython-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/modsupport.c')
-rw-r--r-- | Python/modsupport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c index 35b529b..06bdcab 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -9,7 +9,7 @@ typedef double va_double; static PyObject *va_build_value(const char *, va_list, int); /* Package context -- the full module name for package imports */ -char *_Py_PackageContext = NULL; +const char *_Py_PackageContext = NULL; /* Helper for mkvalue() to scan the length of a format */ |