commit | 17c7cd8d02361a104aaff4de20b2beb524ae3f47 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sat Jan 17 21:57:11 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sat Jan 17 21:57:11 2009 +0000 |
tree | 994df3e5fcd01776f52b062203fd9d59031d2a57 | |
parent | e4bc7f69c28b7edfbc9ccdf7be6b5249b38f6cbd [diff] [blame] |
Replace PyNumber_Int with PyNumber_Long.
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 @@ return NULL; } else { - tout = PyNumber_Int(tout); + tout = PyNumber_Long(tout); if (!tout) return NULL; timeout = PyLong_AsLong(tout);