]> granicus.if.org Git - python/commitdiff
Fix couple typos (#4839)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 13 Dec 2017 15:50:16 +0000 (17:50 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Dec 2017 15:50:16 +0000 (17:50 +0200)
Lib/asyncio/windows_events.py
Lib/test/test_asyncio/test_proactor_events.py

index e18fd392ba25e5a6a8ca52d191260097fe5af010..890fce8b4050c566c5467153464e814544849fac 100644 (file)
@@ -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()
index 7ccc6814b2e1866018aa16ac9767c703910802c4..c3bac95c8624690718be53c6156e5dd6183e9b19 100644 (file)
@@ -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)