diff options
Diffstat (limited to 'Lib/selectors.py')
| -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 f8b17a1..a9a0801 100644 --- a/Lib/selectors.py +++ b/Lib/selectors.py @@ -357,7 +357,7 @@ class _PollLikeSelector(_BaseSelectorImpl): poller_events |= self._EVENT_WRITE try: self._selector.register(key.fd, poller_events) - except Exception: + except: super().unregister(fileobj) raise return key |
