Subject: Fix Python grammar to compile under Python 3.13
Author: Daniel Fremont <dfremont@ucsc.edu>
Forwarded: not-needed

This patch was applied upstream to fix the compatibility with Python
3.13.

---
 data/python.gram | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: python-pegen/data/python.gram
===================================================================
--- python-pegen.orig/data/python.gram
+++ python-pegen/data/python.gram
@@ -2354,7 +2354,7 @@ invalid_while_stmt[NoReturn]:
         )
      }
 invalid_for_stmt[NoReturn]:
-    | [ASYNC] 'for' star_targets 'in' star_expressions NEWLINE { self.raise_syntax_error("expected ':'") }
+    | ['async'] 'for' star_targets 'in' star_expressions NEWLINE { self.raise_syntax_error("expected ':'") }
     | ['async'] a='for' star_targets 'in' star_expressions ':' NEWLINE !INDENT {
         self.raise_indentation_error(
             f"expected an indented block after 'for' statement on line {a.start[0]}"
