Staging
v0.5.1
https://github.com/python/cpython
Revision 3de4aae1d06bddb44e157548060ddc4a43ff5657 authored by Serhiy Storchaka on 01 March 2015, 13:32:17 UTC, committed by Serhiy Storchaka on 01 March 2015, 13:32:17 UTC
2 parent s 71c6f44 + 4c094e5
Raw File
Tip revision: 3de4aae1d06bddb44e157548060ddc4a43ff5657 authored by Serhiy Storchaka on 01 March 2015, 13:32:17 UTC
Fixed pydoc tests when run with -OO.
Tip revision: 3de4aae
ast.h
#ifndef Py_AST_H
#define Py_AST_H
#ifdef __cplusplus
extern "C" {
#endif

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);

#ifdef __cplusplus
}
#endif
#endif /* !Py_AST_H */
back to top