summaryrefslogtreecommitdiffstats
path: root/Modules/_elementtree.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-07 16:26:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-07 16:26:18 (GMT)
commit2f8bfef1587b3e8f43c0ce7cd9546137c5b56782 (patch)
tree44becf9ee303c3cd1e8977fbda8cbbe42237258a /Modules/_elementtree.c
parentc75abff53375bbd9f1536de4069854cea4933c42 (diff)
downloadcpython-2f8bfef1587b3e8f43c0ce7cd9546137c5b56782.zip
cpython-2f8bfef1587b3e8f43c0ce7cd9546137c5b56782.tar.gz
cpython-2f8bfef1587b3e8f43c0ce7cd9546137c5b56782.tar.bz2
replace PY_SIZE_MAX with SIZE_MAX
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r--Modules/_elementtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index ca5ab2c..dd8417a 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -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.