Patch #477750: Use METH_ constants in Modules.

This commit is contained in:
Martin v. Löwis 2002-01-17 23:15:58 +00:00
parent c0e1671c71
commit 43b936d08c
27 changed files with 449 additions and 449 deletions

View file

@ -364,9 +364,9 @@ nis_maps (PyObject *self, PyObject *args)
}
static PyMethodDef nis_methods[] = {
{"match", nis_match},
{"cat", nis_cat},
{"maps", nis_maps},
{"match", nis_match, METH_OLDARGS},
{"cat", nis_cat, METH_OLDARGS},
{"maps", nis_maps, METH_OLDARGS},
{NULL, NULL} /* Sentinel */
};