Skip to content

Commit feb4455

Browse files
docs: Link match statement in tutorial (GH-31396)
Add a link to the `match` statement from its section in the tutorial. Automerge-Triggered-By: GH:Mariatta (cherry picked from commit 35f55cc) Co-authored-by: William Andrea <[email protected]>
1 parent 095ffe7 commit feb4455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/controlflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ at a more abstract level. The :keyword:`!pass` is silently ignored::
250250
:keyword:`!match` Statements
251251
============================
252252

253-
A match statement takes an expression and compares its value to successive
253+
A :keyword:`match` statement takes an expression and compares its value to successive
254254
patterns given as one or more case blocks. This is superficially
255255
similar to a switch statement in C, Java or JavaScript (and many
256256
other languages), but it can also extract components (sequence elements or

0 commit comments

Comments
 (0)