From e5a7b631518d533c729a946a842a011e244ed8cc Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Fri, 8 Mar 2013 12:13:10 -0800 Subject: [PATCH] Use correct PyArg_ParseTuple format for Py_ssize_t --- path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/path.c b/path.c index 0d9fadb8e..13858fb63 100644 --- a/path.c +++ b/path.c @@ -246,7 +246,7 @@ PyPath_Create(PyObject* self, PyObject* args) Py_ssize_t count; double *xy; - if (PyArg_ParseTuple(args, "i:Path", &count)) { + if (PyArg_ParseTuple(args, "n:Path", &count)) { /* number of vertices */ xy = alloc_array(count);