Browse Source

[docs] Fix typo in tasks docs

pull/7565/head
Chrovo 3 years ago
committed by GitHub
parent
commit
aa725f4a4a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/ext/tasks/__init__.py

2
discord/ext/tasks/__init__.py

@ -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).

Loading…
Cancel
Save