chaining
This commit is contained in:
parent
852ce51a54
commit
1a1a09f7fb
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ index 110136af81b..48cebe45d5b 100644
|
|||
# -----------------
|
||||
|
||||
+pipe[expr_ty]:
|
||||
+ | lhs=bitwise_or '|>' rhs=primary_nocall b=genexp {
|
||||
+ | lhs=pipe '|>' rhs=primary_nocall b=genexp {
|
||||
+ _PyAST_Call(rhs,
|
||||
+ _PyPegen_desugar_pipe(
|
||||
+ CHECK(asdl_expr_seq*, (asdl_expr_seq*)_PyPegen_singleton_seq(p, b)),
|
||||
|
|
@ -98,7 +98,7 @@ index 110136af81b..48cebe45d5b 100644
|
|||
+ EXTRA
|
||||
+ )
|
||||
+ }
|
||||
+ | lhs=bitwise_or '|>' rhs=primary_nocall '(' arg=[arguments] ')' {
|
||||
+ | lhs=pipe '|>' rhs=primary_nocall '(' arg=[arguments] ')' {
|
||||
+ _PyAST_Call(
|
||||
+ rhs,
|
||||
+ _PyPegen_desugar_pipe(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue