summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-06-24 05:44:57 (GMT)
committerGitHub <noreply@github.com>2017-06-24 05:44:57 (GMT)
commit20f1029584a091959ead30b7f7ef238668745aa0 (patch)
tree37dd5824b79e4f661562a99b30b3375d2ca65fdf /Lib/asyncio
parentbd570f42110b99bade6e58e3ed2d620f27a92fc3 (diff)
downloadcpython-20f1029584a091959ead30b7f7ef238668745aa0.zip
cpython-20f1029584a091959ead30b7f7ef238668745aa0.tar.gz
cpython-20f1029584a091959ead30b7f7ef238668745aa0.tar.bz2
[3.6] Fix a typo in a comment in coroutines.py (GH-2267) (GH-2370)
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 08e9441..b2adaad 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