summaryrefslogtreecommitdiffstats
path: root/Include/Python-ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Python-ast.h')
-rw-r--r--Include/Python-ast.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h
index 3c5677c..7aef19b 100644
--- a/Include/Python-ast.h
+++ b/Include/Python-ast.h
@@ -159,6 +159,7 @@ struct _stmt {
struct {
identifier module;
asdl_seq *names;
+ int level;
} ImportFrom;
struct {
@@ -371,8 +372,8 @@ stmt_ty TryFinally(asdl_seq * body, asdl_seq * finalbody, int lineno, PyArena
*arena);
stmt_ty Assert(expr_ty test, expr_ty msg, int lineno, PyArena *arena);
stmt_ty Import(asdl_seq * names, int lineno, PyArena *arena);
-stmt_ty ImportFrom(identifier module, asdl_seq * names, int lineno, PyArena
- *arena);
+stmt_ty ImportFrom(identifier module, asdl_seq * names, int level, int lineno,
+ PyArena *arena);
stmt_ty Exec(expr_ty body, expr_ty globals, expr_ty locals, int lineno, PyArena
*arena);
stmt_ty Global(asdl_seq * names, int lineno, PyArena *arena);