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.
!block
suite
1 parent 2043886 commit 79373faCopy full SHA for 79373fa
1 file changed
Doc/reference/compound_stmts.rst
@@ -620,7 +620,7 @@ The match statement is used for pattern matching. Syntax:
620
match_stmt: 'match' `subject_expr` ":" NEWLINE INDENT `case_block`+ DEDENT
621
subject_expr: `flexible_expression` "," [`flexible_expression_list` [',']]
622
: | `assignment_expression`
623
- case_block: 'case' `patterns` [`guard`] ":" `!block`
+ case_block: 'case' `patterns` [`guard`] ":" `suite`
624
625
.. note::
626
This section uses single quotes to denote
0 commit comments