diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python-ast.h | 1 | ||||
-rw-r--r-- | Include/pythonrun.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h index 4dfaef8..3f07452 100644 --- a/Include/Python-ast.h +++ b/Include/Python-ast.h @@ -404,3 +404,4 @@ arguments_ty arguments(asdl_seq * args, identifier vararg, identifier kwarg, keyword_ty keyword(identifier arg, expr_ty value, PyArena *arena); alias_ty alias(identifier name, identifier asname, PyArena *arena); +PyObject* PyAST_mod2obj(mod_ty t); diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 446133a..a18a4e2 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -11,6 +11,7 @@ extern "C" { #define PyCF_MASK_OBSOLETE (CO_NESTED) #define PyCF_SOURCE_IS_UTF8 0x0100 #define PyCF_DONT_IMPLY_DEDENT 0x0200 +#define PyCF_ONLY_AST 0x0400 typedef struct { int cf_flags; /* bitmask of CO_xxx flags relevant to future */ |