@@ -1377,23 +1377,23 @@ member in the :c:type:`PyTypeObject` structure should be *NULL*. Otherwise, the
1377
1377
Structure used to hold the function pointers which define an implementation of
1378
1378
the buffer protocol.
1379
1379
1380
- The first slot is :attr: `bf_getreadbuffer `, of type :c:type: `getreadbufferproc `.
1380
+ The first slot is :attr: `bf_getreadbuffer `, of type :c:type: `readbufferproc `.
1381
1381
If this slot is *NULL *, then the object does not support reading from the
1382
1382
internal data. This is non-sensical, so implementors should fill this in, but
1383
1383
callers should test that the slot contains a non-*NULL * value.
1384
1384
1385
1385
The next slot is :attr: `bf_getwritebuffer ` having type
1386
- :c:type: `getwritebufferproc `. This slot may be *NULL * if the object does not
1386
+ :c:type: `writebufferproc `. This slot may be *NULL * if the object does not
1387
1387
allow writing into its returned buffers.
1388
1388
1389
- The third slot is :attr: `bf_getsegcount `, with type :c:type: `getsegcountproc `.
1389
+ The third slot is :attr: `bf_getsegcount `, with type :c:type: `segcountproc `.
1390
1390
This slot must not be *NULL * and is used to inform the caller how many segments
1391
1391
the object contains. Simple objects such as :c:type: `PyString_Type ` and
1392
1392
:c:type: `PyBuffer_Type ` objects contain a single segment.
1393
1393
1394
1394
.. index :: single: PyType_HasFeature()
1395
1395
1396
- The last slot is :attr: `bf_getcharbuffer `, of type :c:type: `getcharbufferproc `.
1396
+ The last slot is :attr: `bf_getcharbuffer `, of type :c:type: `charbufferproc `.
1397
1397
This slot will only be present if the :const: `Py_TPFLAGS_HAVE_GETCHARBUFFER `
1398
1398
flag is present in the :c:member: `~PyTypeObject.tp_flags ` field of the object's
1399
1399
:c:type: `PyTypeObject `. Before using this slot, the caller should test whether it
0 commit comments