Skip to content

Fix c-api/file.rst indexes #114608

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
Jan 27, 2024
Merged

Fix c-api/file.rst indexes #114608

merged 2 commits into from
Jan 27, 2024

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jan 26, 2024

It is now:
Снимок экрана 2024-01-26 в 18 48 18

Fixes #114546


📚 Documentation preview 📚: https://cpython-previews--114608.org.readthedocs.build/

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

You can also use .. c:namespace:: NULL.

@sobolevn
Copy link
Member Author

Which one would you prefer: the current or .. c:namespace:: NULL?

@serhiy-storchaka
Copy link
Member

What do you prefer? I slightly prefer your initial layout, i.e. documenting Py_OpenCodeHookFunction "inside" the documentation for PyFile_SetOpenCodeHook, since the former is only used in the latter.

@sobolevn
Copy link
Member Author

After comparing both, I am returning the initial layout, it is much easier to read 👍

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

@serhiy-storchaka serhiy-storchaka added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jan 27, 2024
@serhiy-storchaka serhiy-storchaka merged commit 23fb9f0 into python:main Jan 27, 2024
@miss-islington-app
Copy link

Thanks @sobolevn for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @sobolevn and @serhiy-storchaka, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 23fb9f0777b054526b3b32f58e60b2a03132bf45 3.12

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 27, 2024
(cherry picked from commit 23fb9f0)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-app
Copy link

bedevere-app bot commented Jan 27, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Jan 27, 2024
serhiy-storchaka pushed a commit that referenced this pull request Jan 27, 2024
(cherry picked from commit 23fb9f0)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
@serhiy-storchaka
Copy link
Member

@sobolevn, this was backported to 3.11, but not to 3.12. Do you mind to make a backport?

@sobolevn
Copy link
Member Author

Will do

sobolevn added a commit to sobolevn/cpython that referenced this pull request Sep 30, 2024
(cherry picked from commit 23fb9f0)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-app
Copy link

bedevere-app bot commented Sep 30, 2024

GH-124786 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 Sep 30, 2024
sobolevn added a commit that referenced this pull request Sep 30, 2024
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