asyncio: Fix spelling and typos.
Thanks to Vajrasky Kok for discovering some of them.
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py
index 28e5243..2a8a241 100644
--- a/Lib/asyncio/test_utils.py
+++ b/Lib/asyncio/test_utils.py
@@ -259,7 +259,7 @@
when = yield ...
... = yield time_advance
- Value retuned by yield is absolute time of next scheduled handler.
+ Value returned by yield is absolute time of next scheduled handler.
Value passed to yield is time advance to move loop's time forward.
"""
@@ -369,7 +369,7 @@
"""A regex based str with a fuzzy __eq__.
Use this helper with 'mock.assert_called_with', or anywhere
- where a regexp comparison between strings is needed.
+ where a regex comparison between strings is needed.
For instance:
mock_call.assert_called_with(MockPattern('spam.*ham'))