diff options
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 68efd45..5578dda 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -141,10 +141,7 @@ def poll(timeout=0.0, map=None): time.sleep(timeout) return - try: - r, w, e = select.select(r, w, e, timeout) - except InterruptedError: - return + r, w, e = select.select(r, w, e, timeout) for fd in r: obj = map.get(fd) |