diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-04-13 07:52:27 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-04-13 07:52:27 (GMT) |
commit | b1ed7fac12fe51080c06e518a9fcaa21f0734744 (patch) | |
tree | 62ec01511606af98540d5b78bb24b2b848f4064e /Modules | |
parent | 2a19074a9c58d491712139cd3607c10fddebbebc (diff) | |
download | cpython-b1ed7fac12fe51080c06e518a9fcaa21f0734744.zip cpython-b1ed7fac12fe51080c06e518a9fcaa21f0734744.tar.gz cpython-b1ed7fac12fe51080c06e518a9fcaa21f0734744.tar.bz2 |
Replace INT_MAX with PY_SSIZE_T_MAX.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/functionalmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/functionalmodule.c b/Modules/functionalmodule.c index 4b2e9b4..38ef43a 100644 --- a/Modules/functionalmodule.c +++ b/Modules/functionalmodule.c @@ -48,7 +48,7 @@ partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) 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); |