diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-21 10:25:54 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-21 10:25:54 +0200 |
commit | 872753000c7f8c55b0da6316c9c957d909cc95e3 (patch) | |
tree | b153421b7d20006a96bfce7353d94ba807bd6888 /Python/modsupport.c | |
parent | 0b16d888bbc0b606c1fc5be27feb730cc91e19ec (diff) | |
download | cpython-872753000c7f8c55b0da6316c9c957d909cc95e3.tar.gz |
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 35b529b07b..06bdcab3c6 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 */ |