[tasks] Add version added note to Loop.change_interval

This commit is contained in:
Suhail 2019-05-19 19:42:32 +01:00 committed by Rapptz
parent 38eb2b4828
commit db9a293f14

View File

@ -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`