This commit is contained in:
Jana Dönszelmann 2026-01-05 16:05:23 +01:00
parent 852ce51a54
commit 1a1a09f7fb
No known key found for this signature in database

View file

@ -87,7 +87,7 @@ index 110136af81b..48cebe45d5b 100644
# ----------------- # -----------------
+pipe[expr_ty]: +pipe[expr_ty]:
+ | lhs=bitwise_or '|>' rhs=primary_nocall b=genexp { + | lhs=pipe '|>' rhs=primary_nocall b=genexp {
+ _PyAST_Call(rhs, + _PyAST_Call(rhs,
+ _PyPegen_desugar_pipe( + _PyPegen_desugar_pipe(
+ CHECK(asdl_expr_seq*, (asdl_expr_seq*)_PyPegen_singleton_seq(p, b)), + CHECK(asdl_expr_seq*, (asdl_expr_seq*)_PyPegen_singleton_seq(p, b)),
@ -98,7 +98,7 @@ index 110136af81b..48cebe45d5b 100644
+ EXTRA + EXTRA
+ ) + )
+ } + }
+ | lhs=bitwise_or '|>' rhs=primary_nocall '(' arg=[arguments] ')' { + | lhs=pipe '|>' rhs=primary_nocall '(' arg=[arguments] ')' {
+ _PyAST_Call( + _PyAST_Call(
+ rhs, + rhs,
+ _PyPegen_desugar_pipe( + _PyPegen_desugar_pipe(