summaryrefslogtreecommitdiff
path: root/Lib/asyncio/coroutines.py
diff options
context:
space:
mode:
authorJohan de Jager <johan.dejager@live.nl>2017-06-24 07:18:54 +0200
committerMariatta <Mariatta@users.noreply.github.com>2017-06-23 22:18:54 -0700
commitcab469245d7635447c5e04fa6ed860b067dfc26b (patch)
treebaff9f093b7efcc917696a87be1abcec6463119c /Lib/asyncio/coroutines.py
parent870c286e27863077747011c2896723c38ea8dc96 (diff)
downloadcpython-git-cab469245d7635447c5e04fa6ed860b067dfc26b.tar.gz
Fix a typo in a comment in coroutines.py (GH-2267)
defiend -> defined
Diffstat (limited to 'Lib/asyncio/coroutines.py')
-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 08e94412b3..b2adaadfc2 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