https://github.com/python/cpython/commit/a923eb47c29a1cbcbc12e1996700f50b0f3bf19e commit: a923eb47c29a1cbcbc12e1996700f50b0f3bf19e branch: 3.10 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: miss-islington <31488909+miss-islington at users.noreply.github.com> date: 2022年07月18日T09:45:09-07:00 summary: In ast doc, update 'below' to 'above' (GH-94967) The included asdl file was moved from 'below' to 'above' in 3.9. (cherry picked from commit 7b617be4ab6df871cfa9d2127908cb1373578dc0) Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu> files: M Doc/library/ast.rst diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index e29b5e88d71d4..1133f022da56c 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -45,7 +45,7 @@ Node classes This is the base of all AST node classes. The actual node classes are derived from the :file:`Parser/Python.asdl` file, which is reproduced - :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C + :ref:`above <abstract-grammar>`. They are defined in the :mod:`_ast` C module and re-exported in :mod:`ast`. There is one class defined for each left-hand side symbol in the abstract