Remove last occurrance of PyArg_GetInt. It is deprecated,

This commit is contained in:
Neal Norwitz 2002-03-25 22:23:53 +00:00
parent 1543c07fdf
commit 7e78acbb1b
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ PySocketSock_sleeptaskw(PySocketSockObject *s,PyObject *args)
{ {
int block; int block;
int delay_flag; int delay_flag;
if (!PyArg_GetInt(args, &block)) if (!PyArg_Parse(args, "i", &block))
return NULL; return NULL;
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
socketioctl(s->sock_fd, 0x80046679, (u_long*)&block); socketioctl(s->sock_fd, 0x80046679, (u_long*)&block);