From: Andrew Svetlov Date: Wed, 13 Dec 2017 15:50:16 +0000 (+0200) Subject: Fix couple typos (#4839) X-Git-Tag: v3.7.0a4~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a6706bf481070298d603b2e3140be715e9dfdcb;p=python Fix couple typos (#4839) --- diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py index e18fd392ba..890fce8b40 100644 --- a/Lib/asyncio/windows_events.py +++ b/Lib/asyncio/windows_events.py @@ -711,7 +711,7 @@ class IocpProactor: f.set_result(value) self._results.append(f) - # Remove unregisted futures + # Remove unregistered futures for ov in self._unregistered: self._cache.pop(ov.address, None) self._unregistered.clear() diff --git a/Lib/test/test_asyncio/test_proactor_events.py b/Lib/test/test_asyncio/test_proactor_events.py index 7ccc6814b2..c3bac95c86 100644 --- a/Lib/test/test_asyncio/test_proactor_events.py +++ b/Lib/test/test_asyncio/test_proactor_events.py @@ -423,7 +423,7 @@ class ProactorSocketTransportTests(test_utils.TestCase): def test_dont_pause_writing(self): tr = self.pause_writing_transport(high=4) - # write a large chunk which completes immedialty, + # write a large chunk which completes immediately, # it should not pause writing fut = asyncio.Future(loop=self.loop) fut.set_result(None)