diff Include/Python-ast.h @ 36660:3c0b26113df6 legacy-trunk

Generate code to recursively copy an AST into a tree of Python objects. Expose this through compile().
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 26 Feb 2006 19:42:26 +0000
parents ea083efdc96c
children 6165927431d6
line wrap: on
line diff
--- a/Include/Python-ast.h	Sun Feb 26 19:27:29 2006 +0000
+++ b/Include/Python-ast.h	Sun Feb 26 19:42:26 2006 +0000
@@ -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);