We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:keyword:
case
1 parent 7168e98 commit f8660a1Copy full SHA for f8660a1
Doc/reference/compound_stmts.rst
@@ -590,6 +590,7 @@ the items are surrounded by parentheses. For example::
590
statement.
591
592
.. _match:
593
+.. _case:
594
595
The :keyword:`!match` statement
596
===============================
@@ -618,7 +619,7 @@ The match statement is used for pattern matching. Syntax:
618
619
This section uses single quotes to denote
620
:ref:`soft keywords <soft-keywords>`.
621
-Pattern matching takes a pattern as input (following ``case``) and a subject
622
+Pattern matching takes a pattern as input (following :keyword:`case`) and a subject
623
value (following ``match``). The pattern (which may contain subpatterns) is
624
matched against the subject value. The outcomes are:
625
0 commit comments