Skip to content
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

gh-119786: move interpreter doc from devguide to InternalDocs #125715

Merged
merged 6 commits into from
Oct 21, 2024

Conversation

Copy link
Contributor

@willingc willingc left a comment

Choose a reason for hiding this comment

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

Thanks @iritkatriel. I love that the internals docs are next to the code 😄

Comment on lines 22 to 23
Recall that the [Python Compiler](https://github.com/python/cpython/blob/main/InternalDocs/compiler.md)
produces a [`CodeObject`](https://github.com/python/cpython/blob/main/InternalDocs/code_object.md),
Copy link
Member

@AlexWaygood AlexWaygood Oct 19, 2024

Choose a reason for hiding this comment

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

I think you might be able to get away with just this (also applies to a bunch of other links in this PR):

Suggested change
Recall that the [Python Compiler](https://github.com/python/cpython/blob/main/InternalDocs/compiler.md)
produces a [`CodeObject`](https://github.com/python/cpython/blob/main/InternalDocs/code_object.md),
Recall that the [Python Compiler](compiler.md) produces a [`CodeObject`](code_object.md),

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 guess I could also use relative links to the code (like ../Python/bytecodes.c).

Copy link
Member

@AlexWaygood AlexWaygood Oct 21, 2024

Choose a reason for hiding this comment

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

Try it and see how it renders? You can get a good preview of how GitHub will render it by pushing to this PR branch, then clicking this "View file" button here from the "files changed" tab:


image

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Nice! A couple of minor things I spotted:

InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/interpreter.md Outdated Show resolved Hide resolved
InternalDocs/README.md Outdated Show resolved Hide resolved
@willingc
Copy link
Contributor

🚢

@iritkatriel iritkatriel merged commit 695814c into python:main Oct 21, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants