Use symbolic METH_VARARGS/METH_OLDARGS instead of 1/0 for ml_flags
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 769965f..bf787d4 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -2938,8 +2938,8 @@
 }
 
 static PyMethodDef scanner_methods[] = {
-    {"match", (PyCFunction) scanner_match, 0},
-    {"search", (PyCFunction) scanner_search, 0},
+    {"match", (PyCFunction) scanner_match, METH_OLDARGS},
+    {"search", (PyCFunction) scanner_search, METH_OLDARGS},
     {NULL, NULL}
 };
 
@@ -2974,9 +2974,9 @@
 };
 
 static PyMethodDef _functions[] = {
-    {"compile", _compile, 1},
-    {"getcodesize", sre_codesize, 1},
-    {"getlower", sre_getlower, 1},
+    {"compile", _compile, METH_VARARGS},
+    {"getcodesize", sre_codesize, METH_VARARGS},
+    {"getlower", sre_getlower, METH_VARARGS},
     {NULL, NULL}
 };