diff options
| author | Sebastian Law <[email protected]> | 2021-02-28 20:54:44 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-28 23:54:44 -0500 |
| commit | f7a4bef4ff13689bc4168130edd582e7bcedac27 (patch) | |
| tree | b69968bd03b295d2c32d8fd082b834570e20c46d /discord/calls.py | |
| parent | Update docs for discord.Invite.max_uses (diff) | |
| download | discord.py-f7a4bef4ff13689bc4168130edd582e7bcedac27.tar.xz discord.py-f7a4bef4ff13689bc4168130edd582e7bcedac27.zip | |
[tasks] remove redundant condition in Loop.next_iteration
self._task is only None if the Loop has never been started before,
which means None should be returned always, regardless of how
many seconds was passed into the constructor
this didn't break anything before because self._next_iteration will
be None as well if self._task is None.
Diffstat (limited to 'discord/calls.py')
0 files changed, 0 insertions, 0 deletions