diff options
Diffstat (limited to 'docs/ext/tasks/index.rst')
| -rw-r--r-- | docs/ext/tasks/index.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ext/tasks/index.rst b/docs/ext/tasks/index.rst index 206a7beb..bc97d0ac 100644 --- a/docs/ext/tasks/index.rst +++ b/docs/ext/tasks/index.rst @@ -110,7 +110,7 @@ Doing something during cancellation: def __init__(self, bot): self.bot= bot self._batch = [] - self.lock = asyncio.Lock(loop=bot.loop) + self.lock = asyncio.Lock() self.bulker.start() async def do_bulk(self): |