summaryrefslogtreecommitdiffstats
path: root/Include/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/ast.h')
-rw-r--r--Include/ast.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Include/ast.h b/Include/ast.h
index 6a8c816..639c4f8 100644
--- a/Include/ast.h
+++ b/Include/ast.h
@@ -16,6 +16,15 @@ PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
PyObject *filename,
PyArena *arena);
+#ifndef Py_LIMITED_API
+
+/* _PyAST_ExprAsUnicode is defined in ast_unparse.c */
+PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(
+ expr_ty e,
+ int omit_parens);
+
+#endif /* !Py_LIMITED_API */
+
#ifdef __cplusplus
}
#endif