[Python-checkins] Fix couple typos (#4839)
Andrew Svetlov
webhook-mailer at python.org
Wed Dec 13 10:50:20 EST 2017
https://github.com/python/cpython/commit/7a6706bf481070298d603b2e3140be715e9dfdcb
commit: 7a6706bf481070298d603b2e3140be715e9dfdcb
branch: master
author: Andrew Svetlov <andrew.svetlov at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-12-13T17:50:16+02:00
summary:
Fix couple typos (#4839)
files:
M Lib/asyncio/windows_events.py
M Lib/test/test_asyncio/test_proactor_events.py
diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py
index e18fd392ba2..890fce8b405 100644
--- a/Lib/asyncio/windows_events.py
+++ b/Lib/asyncio/windows_events.py
@@ -711,7 +711,7 @@ def _poll(self, timeout=None):
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 7ccc6814b2e..c3bac95c862 100644
--- a/Lib/test/test_asyncio/test_proactor_events.py
+++ b/Lib/test/test_asyncio/test_proactor_events.py
@@ -423,7 +423,7 @@ def test_pause_writing_3write(self):
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)
More information about the Python-checkins
mailing list