[tasks] make __call__ actually appear in the docs

This commit is contained in:
Sebastian Law authored and GitHub committed 2021-02-21 07:19:10 -05:00
1 parent 6c08f3d344
commit ceab8ff638
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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.
+1
View File
@@ -139,5 +139,6 @@ API Reference
.. autoclass:: discord.ext.tasks.Loop()
:members:
:special-members: __call__
.. autofunction:: discord.ext.tasks.loop