mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Whoops, checkin consistent versions of *all* files to stop polluting
a bunch of names
This commit is contained in:
parent
497b19a8a2
commit
7b5a604d24
5 changed files with 158 additions and 79 deletions
|
@ -34,6 +34,7 @@ typedef struct _keyword *keyword_ty;
|
|||
|
||||
typedef struct _alias *alias_ty;
|
||||
|
||||
|
||||
struct _mod {
|
||||
enum { Module_kind=1, Interactive_kind=2, Expression_kind=3,
|
||||
Suite_kind=4 } kind;
|
||||
|
@ -326,6 +327,7 @@ struct _alias {
|
|||
identifier asname;
|
||||
};
|
||||
|
||||
|
||||
mod_ty Module(asdl_seq * body);
|
||||
mod_ty Interactive(asdl_seq * body);
|
||||
mod_ty Expression(expr_ty body);
|
||||
|
@ -388,6 +390,7 @@ arguments_ty arguments(asdl_seq * args, identifier vararg, identifier kwarg,
|
|||
asdl_seq * defaults);
|
||||
keyword_ty keyword(identifier arg, expr_ty value);
|
||||
alias_ty alias(identifier name, identifier asname);
|
||||
|
||||
void free_mod(mod_ty);
|
||||
void free_stmt(stmt_ty);
|
||||
void free_expr(expr_ty);
|
||||
|
@ -402,3 +405,4 @@ void free_excepthandler(excepthandler_ty);
|
|||
void free_arguments(arguments_ty);
|
||||
void free_keyword(keyword_ty);
|
||||
void free_alias(alias_ty);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue