diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/ast.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/ast.h b/Include/ast.h index 5bc2b05..c824554 100644 --- a/Include/ast.h +++ b/Include/ast.h @@ -21,6 +21,11 @@ PyAPI_FUNC(mod_ty) PyAST_FromNodeObject( /* _PyAST_ExprAsUnicode is defined in ast_unparse.c */ PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty); +/* Return the borrowed reference to the first literal string in the + sequence of statemnts or NULL if it doesn't start from a literal string. + Doesn't set exception. */ +PyAPI_FUNC(PyObject *) _PyAST_GetDocString(asdl_seq *); + #endif /* !Py_LIMITED_API */ #ifdef __cplusplus |