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

Add PEP 688 special buffer methods to C API Type Object and Buffer Protocol docs #132246

Closed
Labels
@cmaloney

Description

@cmaloney

Documentation

Two special methods,__buffer__ and__release_buffer__ were added to Python 3.12 byPEP-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.

C API Type Object:https://docs.python.org/3/c-api/typeobj.html#tp-slots
Data Model:https://docs.python.org/3/reference/datamodel.html#emulating-buffer-types

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp