diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-26 14:52:00 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-26 14:52:00 +0000 |
commit | 4632117e3732e42cfffee2635206525d5507c7f9 (patch) | |
tree | 60cb7cd4db1c074fc718894c6d1bcd9f78de7ea7 /Modules/threadmodule.c | |
parent | Make object browser work in OSX (by rewriting the old browser (diff) | |
download | cpython-4632117e3732e42cfffee2635206525d5507c7f9.tar.gz cpython-4632117e3732e42cfffee2635206525d5507c7f9.tar.bz2 cpython-4632117e3732e42cfffee2635206525d5507c7f9.zip |
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions
Diffstat (limited to 'Modules/threadmodule.c')
-rw-r--r-- | Modules/threadmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 705733c9577..21313b53aca 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -331,11 +331,11 @@ static PyMethodDef thread_methods[] = { {"allocate_lock", (PyCFunction)thread_PyThread_allocate_lock, METH_NOARGS, allocate_doc}, {"allocate", (PyCFunction)thread_PyThread_allocate_lock, - METH_OLDARGS, allocate_doc}, + METH_NOARGS, allocate_doc}, {"exit_thread", (PyCFunction)thread_PyThread_exit_thread, METH_NOARGS, exit_doc}, {"exit", (PyCFunction)thread_PyThread_exit_thread, - METH_OLDARGS, exit_doc}, + METH_NOARGS, exit_doc}, {"get_ident", (PyCFunction)thread_get_ident, METH_NOARGS, get_ident_doc}, #ifndef NO_EXIT_PROG |