mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
[tasks] make __call__ actually appear in the docs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user