diff options
| author | Rapptz <[email protected]> | 2019-11-26 05:19:11 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-11-26 05:19:11 -0500 |
| commit | c62b6c3e8815cec6f73ec20aa4d0ebd9b68a0f14 (patch) | |
| tree | faaa583e4b34a6dbd51126f4079eb85365a20195 /docs/ext | |
| parent | Implement `Webhook.type` (diff) | |
| download | discord.py-c62b6c3e8815cec6f73ec20aa4d0ebd9b68a0f14.tar.xz discord.py-c62b6c3e8815cec6f73ec20aa4d0ebd9b68a0f14.zip | |
Fix more deprecation warnings for 3.8
Diffstat (limited to 'docs/ext')
| -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): |