mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix a typo in a comment in coroutines.py (GH-2267)
defiend -> defined
This commit is contained in:
parent
870c286e27
commit
cab469245d
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ def coroutine(func):
|
||||||
"""
|
"""
|
||||||
if _inspect_iscoroutinefunction(func):
|
if _inspect_iscoroutinefunction(func):
|
||||||
# In Python 3.5 that's all we need to do for coroutines
|
# 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
|
# Wrapping in CoroWrapper will happen via
|
||||||
# 'sys.set_coroutine_wrapper' function.
|
# 'sys.set_coroutine_wrapper' function.
|
||||||
return func
|
return func
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue