docs: Link match statement in tutorial (GH-31396)

Add a link to the `match` statement from its section in the tutorial.

This should be backported to 3.10.

[Initially submitted as #31395 but against the wrong branch. Thanks @Mariatta]

Automerge-Triggered-By: GH:Mariatta
This commit is contained in:
William Andrea 2022-02-17 19:02:42 -05:00 committed by GitHub
parent aa1ccbc76c
commit 35f55cc5c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,7 +250,7 @@ at a more abstract level. The :keyword:`!pass` is silently ignored::
:keyword:`!match` Statements
============================
A match statement takes an expression and compares its value to successive
A :keyword:`match` statement takes an expression and compares its value to successive
patterns given as one or more case blocks. This is superficially
similar to a switch statement in C, Java or JavaScript (and many
other languages), but it can also extract components (sequence elements or