diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-01-17 23:15:58 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-01-17 23:15:58 (GMT) |
commit | 43b936d08c51726205123ae1af5c5f8b5d3b6fcb (patch) | |
tree | 1c3e3fd7ec72d71f92f1f0480291c5efc7f19eaf /Modules/nismodule.c | |
parent | c0e1671c71dfcf25c8584b06a2e9584a8806a325 (diff) | |
download | cpython-43b936d08c51726205123ae1af5c5f8b5d3b6fcb.zip cpython-43b936d08c51726205123ae1af5c5f8b5d3b6fcb.tar.gz cpython-43b936d08c51726205123ae1af5c5f8b5d3b6fcb.tar.bz2 |
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 bcc8e9f..f8a9246 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 */ }; |