Browse Source

[tasks] Add version added note to Loop.change_interval

pull/2172/head
Suhail 6 years ago
committed by Rapptz
parent
commit
db9a293f14
  1. 2
      discord/ext/tasks/__init__.py

2
discord/ext/tasks/__init__.py

@ -316,6 +316,8 @@ class Loop:
This only applies on the next loop iteration. If it is desirable for the change of interval This only applies on the next loop iteration. If it is desirable for the change of interval
to be applied right away, cancel the task with :meth:`cancel`. to be applied right away, cancel the task with :meth:`cancel`.
.. versionadded:: 1.2.0
Parameters Parameters
------------ ------------
seconds: :class:`float` seconds: :class:`float`

Loading…
Cancel
Save