diff options
author | Georg Brandl <georg@python.org> | 2006-05-29 21:58:42 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-05-29 21:58:42 (GMT) |
commit | bf92f4657234d724df241fc3060d2c2e94e6bf83 (patch) | |
tree | 5dce094b4c555697fc22ab7b0a64a70d35bfe519 /PC/example_nt | |
parent | 96a8c3954cbdb186bc567a490dad8987508ce268 (diff) | |
download | cpython-bf92f4657234d724df241fc3060d2c2e94e6bf83.zip cpython-bf92f4657234d724df241fc3060d2c2e94e6bf83.tar.gz cpython-bf92f4657234d724df241fc3060d2c2e94e6bf83.tar.bz2 |
Convert more modules to METH_VARARGS.
Diffstat (limited to 'PC/example_nt')
-rw-r--r-- | PC/example_nt/example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/example_nt/example.c b/PC/example_nt/example.c index 46cb429..953fb82 100644 --- a/PC/example_nt/example.c +++ b/PC/example_nt/example.c @@ -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} }; |