mirror of https://github.com/python/cpython
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions
This commit is contained in:
parent
3a6f97850b
commit
2358425146
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue