diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2002-01-17 23:15:58 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2002-01-17 23:15:58 +0000 |
| commit | 43b936d08c51726205123ae1af5c5f8b5d3b6fcb (patch) | |
| tree | 1c3e3fd7ec72d71f92f1f0480291c5efc7f19eaf /Modules/nismodule.c | |
| parent | c0e1671c71dfcf25c8584b06a2e9584a8806a325 (diff) | |
| download | cpython-git-43b936d08c51726205123ae1af5c5f8b5d3b6fcb.tar.gz | |
Patch #477750: Use METH_ constants in Modules.
Diffstat (limited to 'Modules/nismodule.c')
| -rw-r--r-- | Modules/nismodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index bcc8e9f968..f8a92464c6 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c @@ -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 */ }; |
