diff --git a/README.md b/README.md index 3737e03..abbccef 100644 --- a/README.md +++ b/README.md @@ -2243,7 +2243,7 @@ Coroutines * **Coroutines have a lot in common with threads, but unlike threads, they only give up control when they call another coroutine and they don’t use as much memory.** * **Coroutine definition starts with `'async'` and its call with `'await'`.** * **`'asyncio.run()'` is the main entry point for asynchronous programs.** -* **Fucntions wait(), gather() and as_completed() can be used when multiple coroutines need to be started at the same time.** +* **Functions wait(), gather() and as_completed() can be used when multiple coroutines need to be started at the same time.** #### Runs a terminal game where you control an asterisk that must avoid numbers: diff --git a/index.html b/index.html index 70bfd8c..eb4054e 100644 --- a/index.html +++ b/index.html @@ -1945,7 +1945,7 @@ ValueError: malformed node or string
  • Coroutines have a lot in common with threads, but unlike threads, they only give up control when they call another coroutine and they don’t use as much memory.
  • Coroutine definition starts with 'async' and its call with 'await'.
  • 'asyncio.run(<coroutine>)' is the main entry point for asynchronous programs.
  • -
  • Fucntions wait(), gather() and as_completed() can be used when multiple coroutines need to be started at the same time.
  • +
  • Functions wait(), gather() and as_completed() can be used when multiple coroutines need to be started at the same time.
  • Runs a terminal game where you control an asterisk that must avoid numbers:

    import asyncio, collections, curses, enum, random
     
     P = collections.namedtuple('P', 'x y')         # Position