Mailing List Archive

CVS: python/dist/src/Modules socketmodule.c,1.211,1.212
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv25411/Modules

Modified Files:
socketmodule.c
Log Message:
Remove last occurrance of PyArg_GetInt. It is deprecated,

Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.211
retrieving revision 1.212
diff -C2 -d -r1.211 -r1.212
*** socketmodule.c 25 Mar 2002 15:32:01 -0000 1.211
--- socketmodule.c 25 Mar 2002 22:23:53 -0000 1.212
***************
*** 970,974 ****
int block;
int delay_flag;
! if (!PyArg_GetInt(args, &block))
return NULL;
Py_BEGIN_ALLOW_THREADS
--- 970,974 ----
int block;
int delay_flag;
! if (!PyArg_Parse(args, "i", &block))
return NULL;
Py_BEGIN_ALLOW_THREADS