mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ typedef struct {
|
|||
} Token;
|
||||
|
||||
typedef struct {
|
||||
char *str;
|
||||
const char *str;
|
||||
int type;
|
||||
} KeywordToken;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue