1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-09 23:39:50 +00:00

[tasks] make __call__ actually appear in the docs

This commit is contained in:
Sebastian Law 2021-02-21 04:19:10 -08:00 committed by GitHub
parent 6c08f3d344
commit ceab8ff638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
discord/ext/tasks
docs/ext/tasks

@ -161,7 +161,7 @@ class Loop:
return self._next_iteration
async def __call__(self, *args, **kwargs):
"""|coro|
r"""|coro|
Calls the internal callback that the task holds.

@ -139,5 +139,6 @@ API Reference
.. autoclass:: discord.ext.tasks.Loop()
:members:
:special-members: __call__
.. autofunction:: discord.ext.tasks.loop