diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 15:26:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 15:26:38 (GMT) |
commit | 1506df265553aae4cdcda3320e1634bf1cd2476f (patch) | |
tree | ef62488b9c99dfccba42211573b8e0b5a2b0d6d5 /Lib/asyncio/windows_events.py | |
parent | f2e1768bc17d199f2ad81d7786e0150585c7cdb4 (diff) | |
download | cpython-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.py | 1 |
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 |