From 6bf585e753b2e54dc3261a0029e2e16979418d6d Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Fri, 25 Jan 2008 21:08:41 +0000 Subject: [PATCH] Fix typo in constant name. --- Objects/listobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/listobject.c b/Objects/listobject.c index 7c63acf1c8a..c1cacaf5eea 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -672,7 +672,7 @@ list_inplace_repeat(PyListObject *self, Py_ssize_t n) return (PyObject *)self; } - if (size > Py_SSIZE_T_MAX / n) { + if (size > PY_SSIZE_T_MAX / n) { return PyErr_NoMemory(); }