diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2023-07-26 15:34:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 15:34:15 (GMT) |
commit | da8f87b7ea421894c41dfc37f578e03409c5d280 (patch) | |
tree | b48f7099f287b2269a25ab7476fae45c06182f05 /Lib/test/test_peg_generator | |
parent | b0202a4e5d6b629ba5acbc703e950f08ebaf07df (diff) | |
download | cpython-da8f87b7ea421894c41dfc37f578e03409c5d280.zip cpython-da8f87b7ea421894c41dfc37f578e03409c5d280.tar.gz cpython-da8f87b7ea421894c41dfc37f578e03409c5d280.tar.bz2 |
gh-107015: Remove async_hacks from the tokenizer (#107018)
Diffstat (limited to 'Lib/test/test_peg_generator')
-rw-r--r-- | Lib/test/test_peg_generator/test_c_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_peg_generator/test_c_parser.py b/Lib/test/test_peg_generator/test_c_parser.py index f9105a9..9e273e9 100644 --- a/Lib/test/test_peg_generator/test_c_parser.py +++ b/Lib/test/test_peg_generator/test_c_parser.py @@ -404,7 +404,7 @@ class TestCParser(unittest.TestCase): a='[' b=NAME c=for_if_clauses d=']' { _PyAST_ListComp(b, c, EXTRA) } ) for_if_clauses[asdl_comprehension_seq*]: ( - a[asdl_comprehension_seq*]=(y=[ASYNC] 'for' a=NAME 'in' b=NAME c[asdl_expr_seq*]=('if' z=NAME { z })* + a[asdl_comprehension_seq*]=(y=['async'] 'for' a=NAME 'in' b=NAME c[asdl_expr_seq*]=('if' z=NAME { z })* { _PyAST_comprehension(_PyAST_Name(((expr_ty) a)->v.Name.id, Store, EXTRA), b, c, (y == NULL) ? 0 : 1, p->arena) })+ { a } ) """ |