]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-118100: Improve links in `ast.rst` (GH-118101) (#118110)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Apr 2024 18:34:55 +0000 (20:34 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Apr 2024 18:34:55 +0000 (18:34 +0000)
gh-118100: Improve links in `ast.rst` (GH-118101)
(cherry picked from commit 2aa11cca115add03f39cb6cd7299135ecf4d4d82)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Doc/library/ast.rst

index 6be58747be751c12ae87670735c9d225125e83f6..5eccc6972bc7e086f01a06c3ec4ffcc0ddfd8bba 100644 (file)
@@ -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 <https://leoeditor.com/appendices.html#leoast-py>`_ unifies the
+    `leoAst.py <https://leo-editor.github.io/leo-editor/appendices.html#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 <https://parso.readthedocs.io>`_ 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.