Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ambv merged 1 commit intopython:3.13frommiss-islington:backport-b529b60-3.13
May 21, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedMay 21, 2025
edited by github-actionsbot
Loading

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

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


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

…pythongh-132247)Two special methods, __buffer__ and __release_buffer__ were added toPython 3.12 by PEP 688. The C API Type Object documentation for slotsincludes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer`but does not refer to the Python Data Model version of those. Add themissing references.(cherry picked from commitb529b60)Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news labelsMay 21, 2025
@ambvambv merged commitbc60b33 intopython:3.13May 21, 2025
29 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsMay 21, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip newstopic-C-API
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@miss-islington@ambv@cmaloney

[8]ページ先頭

©2009-2025 Movatter.jp