Skip to content

Docs: Fix Sphinx annotations in Doc/library/ctypes.rst #107672

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 8 commits into from
Aug 6, 2023

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Aug 5, 2023

Copy link
Member

@AA-Turner AA-Turner left a comment

Choose a reason for hiding this comment

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

It seems :c:type:`spam` is a cross-reference role, and expects to be able to resolve a name -- it explicitly doesn't let you cross reference a keyword (it seems from the table here). :c:expr:`spam` is the only role that doesn't fail here.

A

erlend-aasland and others added 3 commits August 6, 2023 09:21
Co-authored-by: Adam Turner <[email protected]>
@erlend-aasland
Copy link
Contributor Author

Thanks, Adam!

@erlend-aasland erlend-aasland merged commit 71a7c96 into python:main Aug 6, 2023
@miss-islington
Copy link
Contributor

Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @erlend-aasland, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 71a7c96ffeb0d7fef06be3e57468896e030967a5 3.11

@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Aug 6, 2023
@erlend-aasland erlend-aasland deleted the docs/ctypes-as-parameter branch August 6, 2023 08:24
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 6, 2023
(cherry picked from commit 71a7c96)

Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@bedevere-bot
Copy link

GH-107686 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Aug 6, 2023
erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request Aug 6, 2023
Yhg1s pushed a commit that referenced this pull request Aug 6, 2023
) (#107685)

Docs: Fix Sphinx annotations in Doc/library/ctypes.rst (GH-107672)
(cherry picked from commit 71a7c96)

Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants