Mercurial > cpython-lru_cache-weakref
diff Modules/functionalmodule.c @ 37673:606818c33e50 legacy-trunk
Replace INT_MAX with PY_SSIZE_T_MAX.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Thu, 13 Apr 2006 07:52:27 +0000 |
| parents | 145d5fc9a6a5 |
| children |
line wrap: on
line diff
--- a/Modules/functionalmodule.c Thu Apr 13 07:37:25 2006 +0000 +++ b/Modules/functionalmodule.c Thu Apr 13 07:52:27 2006 +0000 @@ -48,7 +48,7 @@ pto->fn = func; Py_INCREF(func); - pto->args = PyTuple_GetSlice(args, 1, INT_MAX); + pto->args = PyTuple_GetSlice(args, 1, PY_SSIZE_T_MAX); if (pto->args == NULL) { pto->kw = NULL; Py_DECREF(pto);
