From ecb8e2bdacbaaf7b3db19e63f80c736d3fe776f6 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 19 Apr 2024 20:34:55 +0200 Subject: [PATCH] [3.12] gh-118100: Improve links in `ast.rst` (GH-118101) (#118110) gh-118100: Improve links in `ast.rst` (GH-118101) (cherry picked from commit 2aa11cca115add03f39cb6cd7299135ecf4d4d82) Co-authored-by: Nikita Sobolev Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Doc/library/ast.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 6be58747be7..5eccc6972bc 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -2520,7 +2520,8 @@ to stdout. Otherwise, the content is read from stdin. code that generated them. This is helpful for tools that make source code transformations. - `leoAst.py `_ unifies the + `leoAst.py `_ + unifies the token-based and parse-tree-based views of python programs by inserting two-way links between tokens and ast nodes. @@ -2532,4 +2533,4 @@ to stdout. Otherwise, the content is read from stdin. `Parso `_ is a Python parser that supports error recovery and round-trip parsing for different Python versions (in multiple Python versions). Parso is also able to list multiple syntax errors - in your python file. + in your Python file.