commit | 526fdeb2278b61653df704d7cfcaedde504dee48 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Mar 17 23:50:50 2021 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 17 23:50:50 2021 +0100 |
tree | 8c17493b7a55c2af626acdd2134920d8ca0a6757 | |
parent | b4536e1c6abe4c6219177a89e16575d05ea22f64 [diff] |
bpo-43244: Add pycore_ast.h header file (GH-24908) Move _PyAST_GetDocString() and _PyAST_ExprAsUnicode() functions the internal C API: from Include/ast.h to a new Include/internal/pycore_ast.h header file. Don't export these functions anymore: replace PyAPI_FUNC() with extern. Remove also unused includes.