commit | 7e78acbb1b6c0ea50f059da6e0eb45ff50b93cc4 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Mar 25 22:23:53 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Mar 25 22:23:53 2002 +0000 |
tree | dd2e5de0cddae3b3bf1f4260fdb93e7cd24ecfa0 | |
parent | 1543c07fdf1468dd4266934cc0f42d258e7c35ee [diff] |
Remove last occurrance of PyArg_GetInt. It is deprecated,
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 @@ { 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);