Fix compiler warning on Windows
..\Modules\_testcapimodule.c(3320): warning C4098: 'matmulType_dealloc' : 'void' function returning a value
This commit is contained in:
parent
d143089e17
commit
420dc56014
|
@ -3317,7 +3317,7 @@ matmulType_imatmul(PyObject *self, PyObject *other)
|
||||||
static void
|
static void
|
||||||
matmulType_dealloc(PyObject *self)
|
matmulType_dealloc(PyObject *self)
|
||||||
{
|
{
|
||||||
return Py_TYPE(self)->tp_free(self);
|
Py_TYPE(self)->tp_free(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyNumberMethods matmulType_as_number = {
|
static PyNumberMethods matmulType_as_number = {
|
||||||
|
|
Loading…
Reference in New Issue