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 /Include/modsupport.h | |
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 'Include/modsupport.h')
-rw-r--r-- | Include/modsupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h index 833e33d..39be128 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -176,7 +176,7 @@ PyAPI_FUNC(PyObject *) PyModule_FromDefAndSpec2(PyModuleDef *def, #endif /* New in 3.5 */ #ifndef Py_LIMITED_API -PyAPI_DATA(char *) _Py_PackageContext; +PyAPI_DATA(const char *) _Py_PackageContext; #endif #ifdef __cplusplus |