From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 19 Apr 2024 18:34:55 +0000 (+0200) Subject: [3.12] gh-118100: Improve links in `ast.rst` (GH-118101) (#118110) X-Git-Tag: v3.12.4~193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecb8e2bdacbaaf7b3db19e63f80c736d3fe776f6;p=thirdparty%2FPython%2Fcpython.git [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> --- diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 6be58747be75..5eccc6972bc7 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.