Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. static expr_ty
  2. ast_for_for_piped_expr(struct compiling *c, const node *n)
  3. {
  4.  
  5. expr_ty left, right;
  6.  
  7. left = ast_for_expr(c, CHILD(n, 0));
  8. if (!left)
  9. return NULL;
  10. asdl_seq *args;
  11. args = _Py_asdl_seq_new(1, c->c_arena);
  12.  
  13. asdl_seq_SET(args, 0, left);
  14.  
  15.  
  16.  
  17. right = ast_for_expr(c, CHILD(n, 2));
  18.  
  19. if (!right)
  20. return NULL;
  21. return Call(right, args, 0, LINENO(n), n->n_col_offset,
  22. n->n_end_lineno, n->n_end_col_offset, c->c_arena);
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement