From fe17d9533d13edf873674a946b9cdf788640428e Mon Sep 17 00:00:00 2001 From: da-woods Date: Sat, 16 Jul 2022 17:18:24 +0100 Subject: Update to reflect named_expr refactor --- Cython/Compiler/Parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index 30917c463..23fb08dba 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -3979,7 +3979,7 @@ def p_match_statement(s, ctx): pos = s.position() with tentatively_scan(s) as errors: s.next() - subject = p_test(s) + subject = p_namedexpr_test(s) subjects = None if s.sy == ",": subjects = [subject] -- cgit v1.2.1