mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +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
|
|
@ -3156,7 +3156,7 @@ decode_unicode(const char *s, size_t len, int rawmode, const char *encoding)
|
|||
return NULL;
|
||||
}
|
||||
r = PyString_AS_STRING(w);
|
||||
rn = Py_Size(w);
|
||||
rn = Py_SIZE(w);
|
||||
assert(rn % 2 == 0);
|
||||
for (i = 0; i < rn; i += 2) {
|
||||
sprintf(p, "\\u%02x%02x",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue