mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
This commit is contained in:
parent
99170a5dbf
commit
90aa7646af
144 changed files with 1306 additions and 1153 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue