diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-08-09 21:15:04 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-08-09 21:15:04 (GMT) |
commit | 832bfe2ebd5ecfa92031cd40c8b41835ba90487f (patch) | |
tree | 7677d685b8f7a7ca7901f2589d92753513b66e01 /Include | |
parent | 450bb594c8be8aca2782c0a862b27d9fa79160b0 (diff) | |
download | cpython-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.h | 1 |
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, |