diff options
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 2c7da7c..d17da2a 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1600,7 +1600,7 @@ PyTokenizer_RestoreEncoding(struct tok_state* tok, int len, int *offset) tok->buf, *offset-1); if (offsetobj) { - *offset = 1 + Py_Size(offsetobj); + *offset = 1 + Py_SIZE(offsetobj); Py_DECREF(offsetobj); } } |