summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-06-24 05:50:31 (GMT)
committerGitHub <noreply@github.com>2017-06-24 05:50:31 (GMT)
commit3e8d6f564395b668bad7ff9bf55703eaa6d1b888 (patch)
treef6b4d57585a0592e4a70dab48e5f0742340e6c2e /Lib/asyncio
parent599ff020b308113f3709fd4e623d9f0d08511706 (diff)
downloadcpython-3e8d6f564395b668bad7ff9bf55703eaa6d1b888.zip
cpython-3e8d6f564395b668bad7ff9bf55703eaa6d1b888.tar.gz
cpython-3e8d6f564395b668bad7ff9bf55703eaa6d1b888.tar.bz2
[3.5] Fix a typo in a comment in coroutines.py (GH-2267) (GH-2371)
defiend -> defined (cherry picked from commit cab469245d7635447c5e04fa6ed860b067dfc26b)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/coroutines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/coroutines.py b/Lib/asyncio/coroutines.py
index 5bdeceb..488e423 100644
--- a/Lib/asyncio/coroutines.py
+++ b/Lib/asyncio/coroutines.py
@@ -197,7 +197,7 @@ def coroutine(func):
"""
if _inspect_iscoroutinefunction(func):
# In Python 3.5 that's all we need to do for coroutines
- # defiend with "async def".
+ # defined with "async def".
# Wrapping in CoroWrapper will happen via
# 'sys.set_coroutine_wrapper' function.
return func