@@ -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
@@ -389,7 +389,7 @@ cannot appear in an :keyword:`!except*` clause.
389389
390390
391391.. index ::
392- keyword: else
392+ pair: keyword; else
393393 statement: return
394394 statement: break
395395 statement: continue
@@ -406,7 +406,7 @@ the :keyword:`!else` clause are not handled by the preceding :keyword:`except`
406406clauses.
407407
408408
409- .. index :: keyword: finally
409+ .. index :: pair: keyword; finally
410410
411411.. _finally :
412412
@@ -471,7 +471,7 @@ The :keyword:`!with` statement
471471
472472.. index ::
473473 ! statement: with
474- keyword: as
474+ pair: keyword; as
475475 single: as; with statement
476476 single: , (comma); with statement
477477 single: : (colon); compound statement
@@ -588,10 +588,10 @@ The :keyword:`!match` statement
588588
589589.. index ::
590590 ! statement: match
591- ! keyword: case
591+ ! pair: keyword; case
592592 ! single: pattern matching
593- keyword: if
594- keyword: as
593+ pair: keyword; if
594+ pair: keyword; as
595595 pair: match; case
596596 single: as; match statement
597597 single: : (colon); compound statement
@@ -1476,8 +1476,8 @@ Coroutine function definition
14761476 : ["->" `expression `] ":" `suite `
14771477
14781478.. index ::
1479- keyword: async
1480- keyword: await
1479+ pair: keyword; async
1480+ pair: keyword; await
14811481
14821482Execution of Python coroutines can be suspended and resumed at many points
14831483(see :term: `coroutine `). :keyword: `await ` expressions, :keyword: `async for ` and
0 commit comments