Skip to content

Commit 79373fa

Browse files
Fix: change !block to suite
1 parent 2043886 commit 79373fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ The match statement is used for pattern matching. Syntax:
620620
match_stmt: 'match' `subject_expr` ":" NEWLINE INDENT `case_block`+ DEDENT
621621
subject_expr: `flexible_expression` "," [`flexible_expression_list` [',']]
622622
: | `assignment_expression`
623-
case_block: 'case' `patterns` [`guard`] ":" `!block`
623+
case_block: 'case' `patterns` [`guard`] ":" `suite`
624624

625625
.. note::
626626
This section uses single quotes to denote

0 commit comments

Comments
 (0)