]> granicus.if.org Git - python/commitdiff
[3.5] Fix a typo in a comment in coroutines.py (GH-2267) (GH-2371)
authorMariatta <Mariatta@users.noreply.github.com>
Sat, 24 Jun 2017 05:50:31 +0000 (22:50 -0700)
committerGitHub <noreply@github.com>
Sat, 24 Jun 2017 05:50:31 +0000 (22:50 -0700)
defiend -> defined
(cherry picked from commit cab469245d7635447c5e04fa6ed860b067dfc26b)

Lib/asyncio/coroutines.py

index 5bdeceb9b117d79f9c0eaedb4aa9d67183232bfd..488e4236724e7aae7dc8cd15b0facbbb2789e308 100644 (file)
@@ -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