aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-09 16:15:04 -0500
committerBenjamin Peterson <benjamin@python.org>2011-08-09 16:15:04 -0500
commit832bfe2ebd5ecfa92031cd40c8b41835ba90487f (patch)
tree7677d685b8f7a7ca7901f2589d92753513b66e01 /Include/ast.h
parentforgotten in f578ca44193d (diff)
downloadcpython-832bfe2ebd5ecfa92031cd40c8b41835ba90487f.tar.gz
cpython-832bfe2ebd5ecfa92031cd40c8b41835ba90487f.tar.bz2
cpython-832bfe2ebd5ecfa92031cd40c8b41835ba90487f.zip
add a AST validator (closes #12575)
Diffstat (limited to 'Include/ast.h')
-rw-r--r--Include/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/ast.h b/Include/ast.h
index a015336f032..055e8dc916e 100644
--- a/Include/ast.h
+++ b/Include/ast.h
@@ -4,6 +4,7 @@
extern "C" {
#endif
+PyAPI_FUNC(int) PyAST_Validate(mod_ty);
PyAPI_FUNC(mod_ty) PyAST_FromNode(
const node *n,
PyCompilerFlags *flags,