-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-101100: Fix sphinx warnings in Doc/c-api/memoryview.rst
#114669
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-101100: Fix sphinx warnings in Doc/c-api/memoryview.rst
#114669
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Agree that it is the right place. It is unfortunate that these constants share a suffix with other PyBUF_*
constants.
I have a suspicion that the use of PyBUF_READ in |
Thanks @sobolevn for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…ythonGH-114669) (cherry picked from commit 97fb248) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…ythonGH-114669) (cherry picked from commit 97fb248) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-114704 is a backport of this pull request to the 3.12 branch. |
GH-114705 is a backport of this pull request to the 3.11 branch. |
It used to be:
I documented these values there, because they are primarily used in
memoryview
. Grep:📚 Documentation preview 📚: https://cpython-previews--114669.org.readthedocs.build/