This commit is contained in:
Christoph Gohlke 2013-03-08 12:13:24 -08:00
commit 387c628051

2
path.c
View File

@ -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);