aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/proactor_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-07 23:34:58 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-07 23:34:58 +0100
commit85310a50a998af645acf0657737076eb064452bb (patch)
tree6b263f4a66877a3f9d824ba2744f87e8dfbbb141 /Lib/asyncio/proactor_events.py
parentc489e83432ef29c9c2a638c4ca290b308e5921e4 (diff)
downloadcpython-85310a50a998af645acf0657737076eb064452bb.tar.gz
cpython-85310a50a998af645acf0657737076eb064452bb.zip
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/proactor_events.py')
-rw-r--r--Lib/asyncio/proactor_events.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py
index 6b5707c7138..74566b2ec9b 100644
--- a/Lib/asyncio/proactor_events.py
+++ b/Lib/asyncio/proactor_events.py
@@ -365,7 +365,6 @@ class BaseProactorEventLoop(base_events.BaseEventLoop):
self._selector = proactor # convenient alias
self._self_reading_future = None
self._accept_futures = {} # socket file descriptor => Future
- self._granularity = max(proactor.resolution, self._granularity)
proactor.set_loop(self)
self._make_self_pipe()