mirror of
https://github.com/python/cpython.git
synced 2025-09-07 17:32:01 +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
|
@ -3006,7 +3006,7 @@ unpack_iterable(PyObject *v, int argcnt, int argcntafter, PyObject **sp)
|
|||
*--sp = PyList_GET_ITEM(l, ll - j);
|
||||
}
|
||||
/* Resize the list. */
|
||||
Py_Size(l) = ll - argcntafter;
|
||||
Py_SIZE(l) = ll - argcntafter;
|
||||
Py_DECREF(it);
|
||||
return 1;
|
||||
|
||||
|
@ -3496,7 +3496,7 @@ fast_function(PyObject *func, PyObject ***pp_stack, int n, int na, int nk)
|
|||
}
|
||||
if (argdefs != NULL) {
|
||||
d = &PyTuple_GET_ITEM(argdefs, 0);
|
||||
nd = Py_Size(argdefs);
|
||||
nd = Py_SIZE(argdefs);
|
||||
}
|
||||
return PyEval_EvalCodeEx(co, globals,
|
||||
(PyObject *)NULL, (*pp_stack)-n, na,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue