diff options
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r-- | Modules/selectmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 6ec574dd4f..bd42e12196 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); |