mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-34013: Generalize the invalid legacy statement error message (GH-27389)
This commit is contained in:
parent
2f54fbafa6
commit
6948964ecf
6 changed files with 337 additions and 244 deletions
|
@ -292,6 +292,7 @@ expr_ty _PyPegen_ensure_imaginary(Parser *p, expr_ty);
|
|||
expr_ty _PyPegen_ensure_real(Parser *p, expr_ty);
|
||||
asdl_seq *_PyPegen_join_sequences(Parser *, asdl_seq *, asdl_seq *);
|
||||
int _PyPegen_check_barry_as_flufl(Parser *, Token *);
|
||||
int _PyPegen_check_legacy_stmt(Parser *p, expr_ty t);
|
||||
mod_ty _PyPegen_make_module(Parser *, asdl_stmt_seq *);
|
||||
|
||||
// Error reporting helpers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue