summaryrefslogtreecommitdiffstats
path: root/Include/ast.h
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-06-20 18:07:25 (GMT)
committerGitHub <noreply@github.com>2020-06-20 18:07:25 (GMT)
commit314858e2763e76e77029ea0b691d749c32939087 (patch)
tree697996061fc2d8b019306ddd02b4ea21fbdd2cb2 /Include/ast.h
parent55460ee6dc9a4f16bd68d6b6be3a8398c7d4a596 (diff)
downloadcpython-314858e2763e76e77029ea0b691d749c32939087.zip
cpython-314858e2763e76e77029ea0b691d749c32939087.tar.gz
cpython-314858e2763e76e77029ea0b691d749c32939087.tar.bz2
bpo-40939: Remove the old parser (Part 2) (GH-21005)
Remove some remaining files and Makefile targets for the old parser
Diffstat (limited to 'Include/ast.h')
-rw-r--r--Include/ast.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Include/ast.h b/Include/ast.h
index a8c52af..de42a3b 100644
--- a/Include/ast.h
+++ b/Include/ast.h
@@ -6,19 +6,8 @@ extern "C" {
#endif
#include "Python-ast.h" /* mod_ty */
-#include "node.h" /* node */
PyAPI_FUNC(int) PyAST_Validate(mod_ty);
-PyAPI_FUNC(mod_ty) PyAST_FromNode(
- const node *n,
- PyCompilerFlags *flags,
- const char *filename, /* decoded from the filesystem encoding */
- PyArena *arena);
-PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
- const node *n,
- PyCompilerFlags *flags,
- PyObject *filename,
- PyArena *arena);
/* _PyAST_ExprAsUnicode is defined in ast_unparse.c */
PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty);