From: Nikita Sobolev Date: Fri, 19 Apr 2024 18:25:54 +0000 (+0300) Subject: gh-118100: Improve links in `ast.rst` (#118101) X-Git-Tag: v3.13.0b1~332 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2aa11cca115add03f39cb6cd7299135ecf4d4d82;p=thirdparty%2FPython%2Fcpython.git gh-118100: Improve links in `ast.rst` (#118101) 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 d10f3f275c0e..8d407321092e 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -2536,7 +2536,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. @@ -2548,4 +2549,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.