diff Modules/threadmodule.c @ 22584:bcd1fdf13acf legacy-trunk

Missed change METH_OLDARGS to METH_NOARGS for two aliased functions
author Neal Norwitz <nnorwitz@gmail.com>
date Tue, 26 Mar 2002 14:52:00 +0000
parents 303b6ad13a32
children 3aa4bf7ac31e
line wrap: on
line diff
--- a/Modules/threadmodule.c	Tue Mar 26 12:06:11 2002 +0000
+++ b/Modules/threadmodule.c	Tue Mar 26 14:52:00 2002 +0000
@@ -331,11 +331,11 @@
 	{"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