@@ -85,8 +85,8 @@ The :keyword:`!if` statement
8585
8686.. index ::
8787 ! statement: if
88- keyword: elif
89- keyword: else
88+ pair: keyword; elif
89+ pair: keyword; else
9090 single: : (colon); compound statement
9191
9292The :keyword: `if ` statement is used for conditional execution:
@@ -110,7 +110,7 @@ The :keyword:`!while` statement
110110
111111.. index ::
112112 ! statement: while
113- keyword: else
113+ pair: keyword; else
114114 pair: loop; statement
115115 single: : (colon); compound statement
116116
@@ -143,8 +143,8 @@ The :keyword:`!for` statement
143143
144144.. index ::
145145 ! statement: for
146- keyword: in
147- keyword: else
146+ pair: keyword; in
147+ pair: keyword; else
148148 pair: target; list
149149 pair: loop; statement
150150 object: sequence
@@ -206,10 +206,10 @@ The :keyword:`!try` statement
206206
207207.. index ::
208208 ! statement: try
209- keyword: except
210- keyword: finally
211- keyword: else
212- keyword: as
209+ pair: keyword; except
210+ pair: keyword; finally
211+ pair: keyword; else
212+ pair: keyword; as
213213 single: : (colon); compound statement
214214
215215The :keyword: `!try ` statement specifies exception handlers and/or cleanup code
@@ -326,7 +326,7 @@ stored in the :mod:`sys` module is reset to its previous value::
326326
327327
328328.. index ::
329- keyword: except_star
329+ pair: keyword; except_star
330330
331331.. _except_star :
332332
@@ -387,7 +387,7 @@ cannot appear in an :keyword:`!except*` clause.
387387
388388
389389.. index ::
390- keyword: else
390+ pair: keyword; else
391391 statement: return
392392 statement: break
393393 statement: continue
@@ -404,7 +404,7 @@ the :keyword:`!else` clause are not handled by the preceding :keyword:`except`
404404clauses.
405405
406406
407- .. index :: keyword: finally
407+ .. index :: pair: keyword; finally
408408
409409.. _finally :
410410
@@ -469,7 +469,7 @@ The :keyword:`!with` statement
469469
470470.. index ::
471471 ! statement: with
472- keyword: as
472+ pair: keyword; as
473473 single: as; with statement
474474 single: , (comma); with statement
475475 single: : (colon); compound statement
@@ -586,10 +586,10 @@ The :keyword:`!match` statement
586586
587587.. index ::
588588 ! statement: match
589- ! keyword: case
589+ ! pair: keyword; case
590590 ! single: pattern matching
591- keyword: if
592- keyword: as
591+ pair: keyword; if
592+ pair: keyword; as
593593 pair: match; case
594594 single: as; match statement
595595 single: : (colon); compound statement
@@ -1474,8 +1474,8 @@ Coroutine function definition
14741474 : ["->" `expression `] ":" `suite `
14751475
14761476.. index ::
1477- keyword: async
1478- keyword: await
1477+ pair: keyword; async
1478+ pair: keyword; await
14791479
14801480Execution of Python coroutines can be suspended and resumed at many points
14811481(see :term: `coroutine `). :keyword: `await ` expressions, :keyword: `async for ` and
0 commit comments