summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/streams.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-30 20:42:54 (GMT)
committerGitHub <noreply@github.com>2019-08-30 20:42:54 (GMT)
commit4bd1d05ee247f200e52fab3958d875bd88073e5b (patch)
treee123f9b7cd40d19341b2b011bf706704b48f9f5c /Lib/asyncio/streams.py
parent3d75857dfa0e50dd6e5439e8bd92c07c5d5e9839 (diff)
downloadcpython-4bd1d05ee247f200e52fab3958d875bd88073e5b.zip
cpython-4bd1d05ee247f200e52fab3958d875bd88073e5b.tar.gz
cpython-4bd1d05ee247f200e52fab3958d875bd88073e5b.tar.bz2
Fix typos mostly in comments, docs and test names (GH-15209)
(cherry picked from commit 39d87b54715197ca9dcb6902bb43461c0ed701a2) Co-authored-by: Min ho Kim <minho42@gmail.com>
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r--Lib/asyncio/streams.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index 204eaf7..1d3e487 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -71,7 +71,7 @@ def connect(host=None, port=None, *,
ssl_handshake_timeout=None,
happy_eyeballs_delay=None, interleave=None):
# Design note:
- # Don't use decorator approach but exilicit non-async
+ # Don't use decorator approach but explicit non-async
# function to fail fast and explicitly
# if passed arguments don't match the function signature
return _ContextManagerHelper(_connect(host, port, limit,
@@ -442,7 +442,7 @@ if hasattr(socket, 'AF_UNIX'):
ssl_handshake_timeout=None):
"""Similar to `connect()` but works with UNIX Domain Sockets."""
# Design note:
- # Don't use decorator approach but exilicit non-async
+ # Don't use decorator approach but explicit non-async
# function to fail fast and explicitly
# if passed arguments don't match the function signature
return _ContextManagerHelper(_connect_unix(path,