summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJohan de Jager <johan.dejager@live.nl>2017-06-24 05:18:54 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-06-24 05:18:54 (GMT)
commitcab469245d7635447c5e04fa6ed860b067dfc26b (patch)
treebaff9f093b7efcc917696a87be1abcec6463119c /Lib
parent870c286e27863077747011c2896723c38ea8dc96 (diff)
downloadcpython-cab469245d7635447c5e04fa6ed860b067dfc26b.zip
cpython-cab469245d7635447c5e04fa6ed860b067dfc26b.tar.gz
cpython-cab469245d7635447c5e04fa6ed860b067dfc26b.tar.bz2
Fix a typo in a comment in coroutines.py (GH-2267)
defiend -> defined
Diffstat (limited to 'Lib')
-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