Staging
v0.5.1
https://github.com/python/cpython
Revision a7de1483c28eb818135a8c9a2e414e3a1d0fe648 authored by Miss Islington (bot) on 04 June 2018, 17:22:18 UTC, committed by GitHub on 04 June 2018, 17:22:18 UTC
(cherry picked from commit 13f51d9eec569e08475390e2a8f49f4afed1ea06)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 6a43d5f
Raw File
Tip revision: a7de1483c28eb818135a8c9a2e414e3a1d0fe648 authored by Miss Islington (bot) on 04 June 2018, 17:22:18 UTC
bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358)
Tip revision: a7de148
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