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;
|
||||
|
||||
typedef struct {
|
||||
char *str;
|
||||
const char *str;
|
||||
int type;
|
||||
} KeywordToken;
|
||||
|
||||
|
|
Loading…
Reference in New Issue