diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-07 22:34:58 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-07 22:34:58 (GMT) |
commit | 85310a50a998af645acf0657737076eb064452bb (patch) | |
tree | 6b263f4a66877a3f9d824ba2744f87e8dfbbb141 /Lib/asyncio/selector_events.py | |
parent | c489e83432ef29c9c2a638c4ca290b308e5921e4 (diff) | |
download | cpython-85310a50a998af645acf0657737076eb064452bb.zip cpython-85310a50a998af645acf0657737076eb064452bb.tar.gz cpython-85310a50a998af645acf0657737076eb064452bb.tar.bz2 |
Issue #20505: Remove resolution and _granularity from selectors and asyncio
* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
Diffstat (limited to 'Lib/asyncio/selector_events.py')
-rw-r--r-- | Lib/asyncio/selector_events.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py index 3690145..202c14b 100644 --- a/Lib/asyncio/selector_events.py +++ b/Lib/asyncio/selector_events.py @@ -36,7 +36,6 @@ class BaseSelectorEventLoop(base_events.BaseEventLoop): selector = selectors.DefaultSelector() logger.debug('Using selector: %s', selector.__class__.__name__) self._selector = selector - self._granularity = max(selector.resolution, self._granularity) self._make_self_pipe() def _make_socket_transport(self, sock, protocol, waiter=None, *, |