Skip to content

bpo-39199: Add attribution to the Green Tree Snakes in the AST docs #24727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ Node classes
In the meantime, instantiating them will return an instance of
a different class.

.. note::
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have placed the note on the top, before the classes themselves as we already have a link to the project at the bottom of the page:

See also Green Tree Snakes, an external documentation resource, has good details on working with Python ASTs.

The descriptions of the specific node classes displayed here
were initially adapted from the fantastic `Green Tree
Snakes <https://greentreesnakes.readthedocs.io/en/latest/>`__ project and
all its contributors.

Literals
^^^^^^^^
Expand Down