From 7e78acbb1b6c0ea50f059da6e0eb45ff50b93cc4 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 25 Mar 2002 22:23:53 +0000 Subject: Remove last occurrance of PyArg_GetInt. It is deprecated, --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 4f35b32..42605ba 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -969,7 +969,7 @@ PySocketSock_sleeptaskw(PySocketSockObject *s,PyObject *args) { int block; int delay_flag; - if (!PyArg_GetInt(args, &block)) + if (!PyArg_Parse(args, "i", &block)) return NULL; Py_BEGIN_ALLOW_THREADS socketioctl(s->sock_fd, 0x80046679, (u_long*)&block); -- cgit v0.12