mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-125331: Allow the parser to activate future imports on the fly (#125482)
This commit is contained in:
parent
05e89c34bd
commit
3bd3e09588
6 changed files with 50 additions and 2 deletions
|
@ -346,6 +346,8 @@ mod_ty _PyPegen_make_module(Parser *, asdl_stmt_seq *);
|
|||
void *_PyPegen_arguments_parsing_error(Parser *, expr_ty);
|
||||
expr_ty _PyPegen_get_last_comprehension_item(comprehension_ty comprehension);
|
||||
void *_PyPegen_nonparen_genexp_in_call(Parser *p, expr_ty args, asdl_comprehension_seq *comprehensions);
|
||||
stmt_ty _PyPegen_checked_future_import(Parser *p, identifier module, asdl_alias_seq *,
|
||||
int , int, int , int , int , PyArena *);
|
||||
|
||||
// Parser API
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue