mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
bpo-40724: Support setting buffer slots from type specs (GH-20648)
This is not part of the limited API but makes the buffer slots available for type specs.
This commit is contained in:
parent
68874a8502
commit
f7c4e23642
5 changed files with 60 additions and 2 deletions
4
Objects/typeslots.inc
generated
4
Objects/typeslots.inc
generated
|
@ -1,6 +1,6 @@
|
|||
/* Generated by typeslots.py */
|
||||
0,
|
||||
0,
|
||||
offsetof(PyHeapTypeObject, as_buffer.bf_getbuffer),
|
||||
offsetof(PyHeapTypeObject, as_buffer.bf_releasebuffer),
|
||||
offsetof(PyHeapTypeObject, as_mapping.mp_ass_subscript),
|
||||
offsetof(PyHeapTypeObject, as_mapping.mp_length),
|
||||
offsetof(PyHeapTypeObject, as_mapping.mp_subscript),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue