[Python-checkins] CVS: python/dist/src/Modules almodule.c,1.32,1.33

Martin v. L?wis loewis@users.sourceforge.net
Sat, 03 Nov 2001 02:48:45 -0800


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

Modified Files:
	almodule.c 
Log Message:
Correct argument parsing for alp_getstatus, which is METH_VARARGS.


Index: almodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/almodule.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** almodule.c	2000/09/01 23:29:26	1.32
--- almodule.c	2001/11/03 10:48:43	1.33
***************
*** 1204,1208 ****
  	int i;
  	
! 	if (!PyArg_Parse(args, "O!", &PyList_Type, &list))
  		return NULL;
  	length = PyList_Size(list);
--- 1204,1208 ----
  	int i;
  	
! 	if (!PyArg_ParseTuple(args, "O!", &PyList_Type, &list))
  		return NULL;
  	length = PyList_Size(list);