Mercurial > cpython-lru_cache-weakref
diff Include/Python-ast.h @ 46208:ea75b12fe8e7
Merged revisions 62004 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r62004 | georg.brandl | 2008-03-28 13:11:56 +0100 (Fr, 28 Mär 2008) | 4 lines
Patch #1810 by Thomas Lee, reviewed by myself:
allow compiling Python AST objects into code objects
in compile().
........
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sun, 30 Mar 2008 20:03:44 +0000 |
| parents | 981ecc526703 |
| children | b2d93a960b98 |
line wrap: on
line diff
--- a/Include/Python-ast.h Sat Mar 29 19:13:55 2008 +0000 +++ b/Include/Python-ast.h Sun Mar 30 20:03:44 2008 +0000 @@ -542,3 +542,5 @@ alias_ty _Py_alias(identifier name, identifier asname, PyArena *arena); PyObject* PyAST_mod2obj(mod_ty t); +mod_ty PyAST_obj2mod(PyObject* ast, PyArena* arena); +int PyAST_Check(PyObject* obj);
