summaryrefslogtreecommitdiff
path: root/Include/ast.h
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
parent450bb594c8be8aca2782c0a862b27d9fa79160b0 (diff)
downloadcpython-git-832bfe2ebd5ecfa92031cd40c8b41835ba90487f.tar.gz
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 a015336f03..055e8dc916 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,