diff options
-rw-r--r-- | Cython/Compiler/Parsing.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |