Skip to content

Fix reference in code.rst #117615

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 2 commits into from
Apr 7, 2024
Merged

Fix reference in code.rst #117615

merged 2 commits into from
Apr 7, 2024

Conversation

anitahammer
Copy link
Contributor

@anitahammer anitahammer commented Apr 7, 2024

@ghost
Copy link

ghost commented Apr 7, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Apr 7, 2024
@anitahammer anitahammer changed the title Update code.rst Update code.rst #117615 Apr 7, 2024
@AlexWaygood AlexWaygood changed the title Update code.rst #117615 Fix reference in code.rst Apr 7, 2024
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.

Thanks!

@AlexWaygood AlexWaygood added the needs backport to 3.12 only security fixes label Apr 7, 2024
@AlexWaygood AlexWaygood enabled auto-merge (squash) April 7, 2024 22:51
@AlexWaygood AlexWaygood merged commit fd36790 into python:main Apr 7, 2024
@miss-islington-app
Copy link

Thanks @anitahammer for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @anitahammer and @AlexWaygood, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker fd3679025d9d0da7eb11f2810ed270c214926992 3.12

@anitahammer
Copy link
Contributor Author

What is ~?

@AlexWaygood
Copy link
Member

What is ~?

It means that it will be rendered in the online documentation as interact() (only the last segment of the path will be shown), but it will link to InteractiveConsole.interact(). There's a full primer on reStructuredText syntax used in the docs here: https://devguide.python.org/documentation/markup/#quick-reference

Thanks for the PR! I'll handle the backport :-)

AlexWaygood added a commit to AlexWaygood/cpython that referenced this pull request Apr 8, 2024
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Apr 8, 2024

GH-117628 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Apr 8, 2024
AlexWaygood added a commit that referenced this pull request Apr 8, 2024
Co-authored-by: Anita Hammer <166057949+anitahammer@users.noreply.github.com>
Fix reference in code.rst (#117615)
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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 issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants