summaryrefslogtreecommitdiff
path: root/Include/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/token.h')
-rw-r--r--Include/token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/token.h b/Include/token.h
index f7f650456e..905022b8d2 100644
--- a/Include/token.h
+++ b/Include/token.h
@@ -75,7 +75,7 @@ extern "C" {
#define ISEOF(x) ((x) == ENDMARKER)
-PyAPI_DATA(char *) _PyParser_TokenNames[]; /* Token names */
+PyAPI_DATA(const char *) _PyParser_TokenNames[]; /* Token names */
PyAPI_FUNC(int) PyToken_OneChar(int);
PyAPI_FUNC(int) PyToken_TwoChars(int, int);
PyAPI_FUNC(int) PyToken_ThreeChars(int, int, int);