]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a typo in a comment in coroutines.py (GH-2267)
authorJohan de Jager <johan.dejager@live.nl>
Sat, 24 Jun 2017 05:18:54 +0000 (07:18 +0200)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 24 Jun 2017 05:18:54 +0000 (22:18 -0700)
defiend -> defined

Lib/asyncio/coroutines.py

index 08e94412b33b2315eca13744b16354572de134ad..b2adaadfc2cd6d120eec1748068a9f1b048485f7 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