Mercurial > cpython-lru_cache-weakref
diff Include/Python-ast.h @ 46193:b0bf06d49647 legacy-trunk
Properly check for consistency with the third argument of
compile() when compiling an AST node.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sat, 29 Mar 2008 13:24:23 +0000 |
| parents | ca38f7a4b4c9 |
| children | 2ff88ae9850c |
line wrap: on
line diff
--- a/Include/Python-ast.h Sat Mar 29 13:14:52 2008 +0000 +++ b/Include/Python-ast.h Sat Mar 29 13:24:23 2008 +0000 @@ -501,5 +501,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); +mod_ty PyAST_obj2mod(PyObject* ast, PyArena* arena, int mode); int PyAST_Check(PyObject* obj);
