@@ -84,7 +84,7 @@ The :keyword:`!if` statement
8484============================
8585
8686.. index ::
87- ! statement: if
87+ ! pair: statement; if
8888 pair: keyword; elif
8989 pair: keyword; else
9090 single: : (colon); compound statement
@@ -109,7 +109,7 @@ The :keyword:`!while` statement
109109===============================
110110
111111.. index ::
112- ! statement: while
112+ ! pair: statement; while
113113 pair: keyword; else
114114 pair: loop; statement
115115 single: : (colon); compound statement
@@ -127,8 +127,8 @@ suite of the :keyword:`!else` clause, if present, is executed and the loop
127127terminates.
128128
129129.. index ::
130- statement: break
131- statement: continue
130+ pair: statement; break
131+ pair: statement; continue
132132
133133A :keyword: `break ` statement executed in the first suite terminates the loop
134134without executing the :keyword: `!else ` clause's suite. A :keyword: `continue `
@@ -142,7 +142,7 @@ The :keyword:`!for` statement
142142=============================
143143
144144.. index ::
145- ! statement: for
145+ ! pair: statement; for
146146 pair: keyword; in
147147 pair: keyword; else
148148 pair: target; list
@@ -167,8 +167,8 @@ the suite in the :keyword:`!else` clause,
167167if present, is executed, and the loop terminates.
168168
169169.. index ::
170- statement: break
171- statement: continue
170+ pair: statement; break
171+ pair: statement; continue
172172
173173A :keyword: `break ` statement executed in the first suite terminates the loop
174174without executing the :keyword: `!else ` clause's suite. A :keyword: `continue `
@@ -205,7 +205,7 @@ The :keyword:`!try` statement
205205=============================
206206
207207.. index ::
208- ! statement: try
208+ ! pair: statement; try
209209 pair: keyword; except
210210 pair: keyword; finally
211211 pair: keyword; else
@@ -388,9 +388,9 @@ cannot appear in an :keyword:`!except*` clause.
388388
389389.. index ::
390390 pair: keyword; else
391- statement: return
392- statement: break
393- statement: continue
391+ pair: statement; return
392+ pair: statement; break
393+ pair: statement; continue
394394
395395.. _except_else :
396396
@@ -434,9 +434,9 @@ The exception information is not available to the program during execution of
434434the :keyword: `!finally ` clause.
435435
436436.. index ::
437- statement: return
438- statement: break
439- statement: continue
437+ pair: statement; return
438+ pair: statement; break
439+ pair: statement; continue
440440
441441When a :keyword: `return `, :keyword: `break ` or :keyword: `continue ` statement is
442442executed in the :keyword: `try ` suite of a :keyword: `!try `...\ :keyword: `!finally `
@@ -468,7 +468,7 @@ The :keyword:`!with` statement
468468==============================
469469
470470.. index ::
471- ! statement: with
471+ ! pair: statement; with
472472 pair: keyword; as
473473 single: as; with statement
474474 single: , (comma); with statement
@@ -585,7 +585,7 @@ The :keyword:`!match` statement
585585===============================
586586
587587.. index ::
588- ! statement: match
588+ ! pair: statement; match
589589 ! pair: keyword; case
590590 ! single: pattern matching
591591 pair: keyword; if
@@ -1190,7 +1190,7 @@ Function definitions
11901190====================
11911191
11921192.. index ::
1193- statement: def
1193+ pair: statement; def
11941194 pair: function; definition
11951195 pair: function; name
11961196 pair: name; binding
@@ -1364,7 +1364,7 @@ Class definitions
13641364
13651365.. index ::
13661366 pair: object; class
1367- statement: class
1367+ pair: statement; class
13681368 pair: class; definition
13691369 pair: class; name
13701370 pair: name; binding
@@ -1463,7 +1463,7 @@ Coroutines
14631463
14641464.. versionadded :: 3.5
14651465
1466- .. index :: statement: async def
1466+ .. index :: pair: statement; async def
14671467.. _`async def` :
14681468
14691469Coroutine function definition
@@ -1497,7 +1497,7 @@ An example of a coroutine function::
14971497 ``await `` and ``async `` are now keywords; previously they were only
14981498 treated as such inside the body of a coroutine function.
14991499
1500- .. index :: statement: async for
1500+ .. index :: pair: statement; async for
15011501.. _`async for` :
15021502
15031503The :keyword: `!async for ` statement
@@ -1542,7 +1542,7 @@ It is a :exc:`SyntaxError` to use an ``async for`` statement outside the
15421542body of a coroutine function.
15431543
15441544
1545- .. index :: statement: async with
1545+ .. index :: pair: statement; async with
15461546.. _`async with` :
15471547
15481548The :keyword: `!async with ` statement
0 commit comments