summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/windows_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-31 15:26:38 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-31 15:26:38 (GMT)
commit1506df265553aae4cdcda3320e1634bf1cd2476f (patch)
treeef62488b9c99dfccba42211573b8e0b5a2b0d6d5 /Lib/asyncio/windows_events.py
parentf2e1768bc17d199f2ad81d7786e0150585c7cdb4 (diff)
downloadcpython-1506df265553aae4cdcda3320e1634bf1cd2476f.zip
cpython-1506df265553aae4cdcda3320e1634bf1cd2476f.tar.gz
cpython-1506df265553aae4cdcda3320e1634bf1cd2476f.tar.bz2
Issue #20455: Add a resolution attribute to IocpProactor (1 ms)
Diffstat (limited to 'Lib/asyncio/windows_events.py')
-rw-r--r--Lib/asyncio/windows_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py
index 0a2d981..b8574fa 100644
--- a/Lib/asyncio/windows_events.py
+++ b/Lib/asyncio/windows_events.py
@@ -191,6 +191,7 @@ class IocpProactor:
self._cache = {}
self._registered = weakref.WeakSet()
self._stopped_serving = weakref.WeakSet()
+ self.resolution = 1e-3
def set_loop(self, loop):
self._loop = loop