summaryrefslogtreecommitdiffstats
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-03-01 04:06:10 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-03-01 04:06:10 (GMT)
commit762467475d944f67ac20bf23c6c5144a6e39feae (patch)
treec1e48eb4483b1722a40889b69851f9a202947694 /Python/getargs.c
parent66485ae571e8c366764753786ab7487fe5eac132 (diff)
downloadcpython-762467475d944f67ac20bf23c6c5144a6e39feae.zip
cpython-762467475d944f67ac20bf23c6c5144a6e39feae.tar.gz
cpython-762467475d944f67ac20bf23c6c5144a6e39feae.tar.bz2
Use Py_ssize_t for PyArg_UnpackTuple arguments.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 2af9d88..e14a07b 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -1662,9 +1662,9 @@ err:
int
-PyArg_UnpackTuple(PyObject *args, const char *name, int min, int max, ...)
+PyArg_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, ...)
{
- int i, l;
+ Py_ssize_t i, l;
PyObject **o;
va_list vargs;