doc: index_var: fix version added (#37982) (#46224)

e9b0a4ccb4 is present since v2.5.0b1

(cherry picked from commit 2a604f6fe6)
pull/41700/merge
Alicia Cozine 6 years ago committed by GitHub
parent ade5934d33
commit 954bf74158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,7 +302,7 @@ Another option to loop control is ``pause``, which allows you to control the tim
loop_control:
pause: 3
.. versionadded:: 2.7
.. versionadded:: 2.5
If you need to keep track of where you are in a loop, you can use the ``index_var`` option to loop control to specify a variable name to contain the current loop index.::

Loading…
Cancel
Save