summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-04-19 18:34:55 (GMT)
committerGitHub <noreply@github.com>2024-04-19 18:34:55 (GMT)
commitecb8e2bdacbaaf7b3db19e63f80c736d3fe776f6 (patch)
treec1a11f1152d92270a94042583be4735bb11538a8
parent5430f614371530aab1178b3b610add4bf54c383e (diff)
downloadcpython-ecb8e2bdacbaaf7b3db19e63f80c736d3fe776f6.zip
cpython-ecb8e2bdacbaaf7b3db19e63f80c736d3fe776f6.tar.gz
cpython-ecb8e2bdacbaaf7b3db19e63f80c736d3fe776f6.tar.bz2
[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 <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
-rw-r--r--Doc/library/ast.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 6be5874..5eccc69 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 <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.