Kaydet (Commit) 20f10295 authored tarafından Mariatta's avatar Mariatta Kaydeden (comit) GitHub

[3.6] Fix a typo in a comment in coroutines.py (GH-2267) (GH-2370)

defiend -> defined
(cherry picked from commit cab46924)
üst bd570f42
...@@ -197,7 +197,7 @@ def coroutine(func): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment