[Python-checkins] CVS: python/dist/src/Modules threadmodule.c,2.46,2.47

Neal Norwitz nnorwitz@users.sourceforge.net
Tue, 26 Mar 2002 06:52:02 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv4410/Modules

Modified Files:
	threadmodule.c 
Log Message:
Missed change METH_OLDARGS to METH_NOARGS for two aliased functions

Index: threadmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/threadmodule.c,v
retrieving revision 2.46
retrieving revision 2.47
diff -C2 -d -r2.46 -r2.47
*** threadmodule.c	25 Mar 2002 21:05:50 -0000	2.46
--- threadmodule.c	26 Mar 2002 14:52:00 -0000	2.47
***************
*** 332,340 ****
  	 METH_NOARGS, allocate_doc},
  	{"allocate",		(PyCFunction)thread_PyThread_allocate_lock, 
! 	 METH_OLDARGS, allocate_doc},
  	{"exit_thread",		(PyCFunction)thread_PyThread_exit_thread, 
  	 METH_NOARGS, exit_doc},
  	{"exit",		(PyCFunction)thread_PyThread_exit_thread, 
! 	 METH_OLDARGS, exit_doc},
  	{"get_ident",		(PyCFunction)thread_get_ident, 
  	 METH_NOARGS, get_ident_doc},
--- 332,340 ----
  	 METH_NOARGS, allocate_doc},
  	{"allocate",		(PyCFunction)thread_PyThread_allocate_lock, 
! 	 METH_NOARGS, allocate_doc},
  	{"exit_thread",		(PyCFunction)thread_PyThread_exit_thread, 
  	 METH_NOARGS, exit_doc},
  	{"exit",		(PyCFunction)thread_PyThread_exit_thread, 
! 	 METH_NOARGS, exit_doc},
  	{"get_ident",		(PyCFunction)thread_get_ident, 
  	 METH_NOARGS, get_ident_doc},