diff options
Diffstat (limited to 'Modules/soundex.c')
-rw-r--r-- | Modules/soundex.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Modules/soundex.c b/Modules/soundex.c index acb3344..d230ee1 100644 --- a/Modules/soundex.c +++ b/Modules/soundex.c @@ -157,10 +157,12 @@ sound_similar(PyObject *self, PyObject *args) */ static PyMethodDef SoundexMethods[] = { - {"sound_similar", sound_similar, 1, soundex_sound_similar__doc__}, - {"get_soundex", get_soundex, 1, soundex_get_soundex__doc__}, + {"sound_similar", sound_similar, + METH_VARARGS, soundex_sound_similar__doc__}, + {"get_soundex", get_soundex, + METH_VARARGS, soundex_get_soundex__doc__}, - {NULL, NULL } /* sentinel */ + {NULL, NULL } /* sentinel */ }; |