mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
replace PY_SIZE_MAX with SIZE_MAX
This commit is contained in:
parent
c75abff533
commit
2f8bfef158
12 changed files with 18 additions and 26 deletions
|
@ -1787,7 +1787,7 @@ element_ass_subscr(PyObject* self_, PyObject* item, PyObject* value)
|
|||
step = -step;
|
||||
}
|
||||
|
||||
assert((size_t)slicelen <= PY_SIZE_MAX / sizeof(PyObject *));
|
||||
assert((size_t)slicelen <= SIZE_MAX / sizeof(PyObject *));
|
||||
|
||||
/* recycle is a list that will contain all the children
|
||||
* scheduled for removal.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue