summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-05-04 10:48:45 (GMT)
committerGitHub <noreply@github.com>2023-05-04 10:48:45 (GMT)
commit55d50d147c953fab37b273bca9ab010f40e067d3 (patch)
tree4df1f1fd75b2df3b6311721922331ccf4e0fb6bf /Doc/tutorial
parent3e7995ca119d4253d05a520f35ab3efca793ee49 (diff)
downloadcpython-55d50d147c953fab37b273bca9ab010f40e067d3.zip
cpython-55d50d147c953fab37b273bca9ab010f40e067d3.tar.gz
cpython-55d50d147c953fab37b273bca9ab010f40e067d3.tar.bz2
GH-97950: Use new-style index directive ('statement') (#104162)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/controlflow.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 52db51e..c9b3d98 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -46,7 +46,7 @@ details see :ref:`tut-match`.
==========================
.. index::
- statement: for
+ pair: statement; for
The :keyword:`for` statement in Python differs a bit from what you may be used
to in C or Pascal. Rather than always iterating over an arithmetic progression