Patch #477750: Use METH_ constants in Modules.
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c
index 843bc16..485ec5a 100644
--- a/Modules/fpectlmodule.c
+++ b/Modules/fpectlmodule.c
@@ -91,8 +91,8 @@
static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args);
static PyMethodDef fpectl_methods[] = {
- {"turnon_sigfpe", (PyCFunction) turnon_sigfpe, 1},
- {"turnoff_sigfpe", (PyCFunction) turnoff_sigfpe, 1},
+ {"turnon_sigfpe", (PyCFunction) turnon_sigfpe, METH_VARARGS},
+ {"turnoff_sigfpe", (PyCFunction) turnoff_sigfpe, METH_VARARGS},
{0,0}
};