Fix typo in constant name.
This commit is contained in:
parent
d92272e4a9
commit
6bf585e753
|
@ -672,7 +672,7 @@ list_inplace_repeat(PyListObject *self, Py_ssize_t n)
|
||||||
return (PyObject *)self;
|
return (PyObject *)self;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (size > Py_SSIZE_T_MAX / n) {
|
if (size > PY_SSIZE_T_MAX / n) {
|
||||||
return PyErr_NoMemory();
|
return PyErr_NoMemory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue