8000 [3.13] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247) by miss-islington · Pull Request #134427 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
< 8000 h1 class="gh-header-title mb-2 lh-condensed f1 mr-0 flex-auto wb-break-word"> [3.13] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247) #134427
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 1 commit into from
May 21, 2025

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented May 21, 2025

Two special methods, buffer and release_buffer were added to
Python 3.12 by PEP 688. The C API Type Object documentation for slots
includes tp_as_buffer, and sub-slots bf_getbuffer, bf_releasebuffer
but does not refer to the Python Data Model version of those. Add the
missing references.
(cherry picked from commit b529b60)

Co-authored-by: Cody Maloney cmaloney@users.noreply.github.com


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

…pythongh-132247)

Two special methods, __buffer__ and __release_buffer__ were added to
Python 3.12 by PEP 688. The C API Type Object documentation for slots
includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer`
but does not refer to the Python Data Model version of those. Add the
missing references.
(cherry picked from commit b529b60)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels May 21, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs May 21, 2025
@ambv ambv merged commit bc60b33 into python:3.13 May 21, 2025
29 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs May 21, 2025
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 topic-C-API
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants
0