Convert more modules to METH_VARARGS.

This commit is contained in:
Georg Brandl 2006-05-29 21:58:42 +00:00
parent 96a8c3954c
commit bf92f46572
8 changed files with 139 additions and 113 deletions

View file

@ -9,7 +9,7 @@ ex_foo(PyObject *self, PyObject *args)
}
static PyMethodDef example_methods[] = {
{"foo", ex_foo, 1, "foo() doc string"},
{"foo", ex_foo, METH_VARARGS, "foo() doc string"},
{NULL, NULL}
};