Missed change METH_OLDARGS to METH_NOARGS for two aliased functions

This commit is contained in:
Neal Norwitz 2002-03-25 21:05:50 +00:00
parent 3a6f97850b
commit 2358425146
1 changed files with 2 additions and 2 deletions

View File

@ -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 */
};