Skip to content

Commit 9edd103

Browse files
committed
Fix arguments of qhull version function to match expected METH_NOARGS signature
1 parent 59732ac commit 9edd103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qhull_wrap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ delaunay(PyObject *self, PyObject *args)
295295

296296
/* Return qhull version string for assistance in debugging. */
297297
static PyObject*
298-
version(void)
298+
version(PyObject *self, PyObject *arg)
299299
{
300300
return PyBytes_FromString(qh_version);
301301
}

0 commit comments

Comments
 (0)