diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/selectors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/selectors.py b/Lib/selectors.py index 52ee8db..056e45c 100644 --- a/Lib/selectors.py +++ b/Lib/selectors.py @@ -372,7 +372,7 @@ if hasattr(select, 'poll'): else: # poll() has a resolution of 1 millisecond, round away from # zero to wait *at least* timeout seconds. - timeout = int(math.ceil(timeout * 1e3)) + timeout = math.ceil(timeout * 1e3) ready = [] try: fd_event_list = self._poll.poll(timeout) |