From 2358425146fac7790135f4644f8fa1d7359041f7 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 25 Mar 2002 21:05:50 +0000 Subject: Missed change METH_OLDARGS to METH_NOARGS for two aliased functions --- Modules/threadmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index cf4d3d5..705733c 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -133,11 +133,11 @@ static PyMethodDef lock_methods[] = { {"release_lock", (PyCFunction)lock_PyThread_release_lock, METH_NOARGS, release_doc}, {"release", (PyCFunction)lock_PyThread_release_lock, - METH_OLDARGS, release_doc}, + METH_NOARGS, release_doc}, {"locked_lock", (PyCFunction)lock_locked_lock, METH_NOARGS, locked_doc}, {"locked", (PyCFunction)lock_locked_lock, - METH_OLDARGS, locked_doc}, + METH_NOARGS, locked_doc}, {NULL, NULL} /* sentinel */ }; -- cgit v0.12