summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-09 21:15:04 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-09 21:15:04 (GMT)
commit832bfe2ebd5ecfa92031cd40c8b41835ba90487f (patch)
tree7677d685b8f7a7ca7901f2589d92753513b66e01 /Include
parent450bb594c8be8aca2782c0a862b27d9fa79160b0 (diff)
downloadcpython-832bfe2ebd5ecfa92031cd40c8b41835ba90487f.zip
cpython-832bfe2ebd5ecfa92031cd40c8b41835ba90487f.tar.gz
cpython-832bfe2ebd5ecfa92031cd40c8b41835ba90487f.tar.bz2
add a AST validator (closes #12575)
Diffstat (limited to 'Include')
-rw-r--r--Include/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/ast.h b/Include/ast.h
index a015336..055e8dc 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,