]> granicus.if.org Git - python/commitdiff
Fix typo in constant name.
authorThomas Wouters <thomas@python.org>
Fri, 25 Jan 2008 21:08:41 +0000 (21:08 +0000)
committerThomas Wouters <thomas@python.org>
Fri, 25 Jan 2008 21:08:41 +0000 (21:08 +0000)
Objects/listobject.c

index 7c63acf1c8a051dc1c67c16ba1f9e792faf13607..c1cacaf5eead7bc0af6ca7382812b642b2c4da45 100644 (file)
@@ -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();
        }