mirror of https://github.com/python/cpython
gh-100940: Change "char *str" to "const char *str" in KeywordToken: It is an immutable string. (#100936)
This commit is contained in:
parent
75c8133efe
commit
a1e051a237
|
@ -42,7 +42,7 @@ typedef struct {
|
||||||
} Token;
|
} Token;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *str;
|
const char *str;
|
||||||
int type;
|
int type;
|
||||||
} KeywordToken;
|
} KeywordToken;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue