[docs] Fix typo in tasks docs

This commit is contained in:
Chrovo 2022-03-06 19:03:36 -05:00 committed by GitHub
parent 3dd99a7697
commit aa725f4a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -504,7 +504,7 @@ class Loop(Generic[LF]):
return coro
def after_loop(self, coro: FT) -> FT:
"""A decorator that register a coroutine to be called after the loop finished running.
"""A decorator that registers a coroutine to be called after the loop finishes running.
The coroutine must take no arguments (except ``self`` in a class context).