commit | bd260da900b5c5f16e5c61f6795d08171b33e0f8 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Feb 26 19:42:26 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Feb 26 19:42:26 2006 +0000 |
tree | 0880faf7b6da37250984d1a0e6e6c5a0faa25f06 | |
parent | 23b0dc50535d7eaf2f322b04da7a7f86815fcc8f [diff] [blame] |
Generate code to recursively copy an AST into a tree of Python objects. Expose this through compile().
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 @@ 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);