mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Patch #477750: Use METH_ constants in Modules.
This commit is contained in:
parent
c0e1671c71
commit
43b936d08c
27 changed files with 449 additions and 449 deletions
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue