summaryrefslogtreecommitdiffstats
path: root/Include/Python-ast.h
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-29 13:24:23 (GMT)
committerGeorg Brandl <georg@python.org>2008-03-29 13:24:23 (GMT)
commitf2bfd54d6f2acde253ae24805edf116c372bd81e (patch)
tree30964d80bd483e0c2a18b7e80638883cc52ad565 /Include/Python-ast.h
parentea13dc629caed2dd44b1ba5b611e1ba2ac1fd96f (diff)
downloadcpython-f2bfd54d6f2acde253ae24805edf116c372bd81e.zip
cpython-f2bfd54d6f2acde253ae24805edf116c372bd81e.tar.gz
cpython-f2bfd54d6f2acde253ae24805edf116c372bd81e.tar.bz2
Properly check for consistency with the third argument of
compile() when compiling an AST node.
Diffstat (limited to 'Include/Python-ast.h')
-rw-r--r--Include/Python-ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h
index 8be26f2..f105267 100644
--- a/Include/Python-ast.h
+++ b/Include/Python-ast.h
@@ -501,5 +501,5 @@ keyword_ty _Py_keyword(identifier arg, expr_ty value, PyArena *arena);
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);