FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[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

Repository navigation

[3.13] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247) - #134427

Merged
ambv merged 1 commit into
python:3.13from
miss-islington:backport-b529b60-3.13
May 21, 2025
Merged

ambv merged 1 commit into
python:3.13from
miss-islington:backport-b529b60-3.13

Conversation

miss-islington commented May 21, 2025 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL