summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-17 21:57:11 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-17 21:57:11 (GMT)
commit17c7cd8d02361a104aaff4de20b2beb524ae3f47 (patch)
tree994df3e5fcd01776f52b062203fd9d59031d2a57 /Modules/selectmodule.c
parente4bc7f69c28b7edfbc9ccdf7be6b5249b38f6cbd (diff)
downloadcpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.zip
cpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.tar.gz
cpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.tar.bz2
Replace PyNumber_Int with PyNumber_Long.
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 6ec574d..bd42e12 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -515,7 +515,7 @@ poll_poll(pollObject *self, PyObject *args)
return NULL;
}
else {
- tout = PyNumber_Int(tout);
+ tout = PyNumber_Long(tout);
if (!tout)
return NULL;
timeout = PyLong_AsLong(tout);