Staging
v0.5.1
https://github.com/python/cpython
Revision 1957e7b76a1319995360492223a4dfe1cd5d105c authored by Miss Islington (bot) on 19 April 2018, 05:09:51 UTC, committed by Ɓukasz Langa on 19 April 2018, 05:09:51 UTC
(cherry picked from commit e3a523a0fa16aec880880928303bfcbd1fb74bc2)

Co-authored-by: Denis Osipov <osipov_d@list.ru>
1 parent e735634
Raw File
Tip revision: 1957e7b76a1319995360492223a4dfe1cd5d105c authored by Miss Islington (bot) on 19 April 2018, 05:09:51 UTC
bpo-31583: Fix 2to3 for using with --add-suffix option (GH-3758) (GH-6529)
Tip revision: 1957e7b
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