summaryrefslogtreecommitdiff
path: root/Include/modsupport.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-11-21 10:25:54 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2016-11-21 10:25:54 +0200
commit872753000c7f8c55b0da6316c9c957d909cc95e3 (patch)
treeb153421b7d20006a96bfce7353d94ba807bd6888 /Include/modsupport.h
parent0b16d888bbc0b606c1fc5be27feb730cc91e19ec (diff)
downloadcpython-872753000c7f8c55b0da6316c9c957d909cc95e3.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h
index 833e33d574..39be12864a 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