summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-25 21:05:50 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-25 21:05:50 (GMT)
commit2358425146fac7790135f4644f8fa1d7359041f7 (patch)
treea6826981fead49257eb2c62b1deede4b56c0897d /Modules
parent3a6f97850b2a4071f3015033fa3d68ce6fa576f4 (diff)
downloadcpython-2358425146fac7790135f4644f8fa1d7359041f7.zip
cpython-2358425146fac7790135f4644f8fa1d7359041f7.tar.gz
cpython-2358425146fac7790135f4644f8fa1d7359041f7.tar.bz2
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions
Diffstat (limited to 'Modules')
-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 */
};