summaryrefslogtreecommitdiffstats
path: root/Modules/threadmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/threadmodule.c')
-rw-r--r--Modules/threadmodule.c4
1 files 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 */
};