# HG changeset patch
# User Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
# Date 1618247000 -28800
#      Tue Apr 13 01:03:20 2021 +0800
# Node ID e606db018a9acf0b40a374007ccf9aae5a1c7c85
# Parent  1acfc98f55892ea8a0f5590d683c23b28f9dcce2
Use double quotes over single quotes for match statement grammar (GH-24943)

diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -533,7 +533,7 @@
    match_stmt: 'match' `subject_expr` ":" NEWLINE INDENT `case_block`+ DEDENT
    subject_expr: `star_named_expression` "," `star_named_expressions`?
                : | `named_expression`
-   case_block: 'case' `patterns` [`guard`] ':' `block`
+   case_block: 'case' `patterns` [`guard`] ":" `block`
 
 .. note::
    This section uses single quotes to denote
@@ -861,7 +861,7 @@
 Syntax:
 
 .. productionlist:: python-grammar
-   group_pattern: '(' `pattern` ')'
+   group_pattern: "(" `pattern` ")"
 
 In simple terms ``(P)`` has the same effect as ``P``.