@@ -237,7 +237,7 @@ For example, if a new API were to be added during ``abi2026``'s life that allows
237237more efficient access to an ``int `` object's internal data, rather than adding a
238238new API, we would create a new interface: a struct containing a function pointer
239239to copy the data to a new location, and a previously unused index/name for that
240- interface. The caller can call ``PyObject_GetInterface(int_object, &intf_struct) ``
240+ interface. The caller can call ``PyObject_GetInterface(int_object, &intf_struct) ``
241241first; if it succeeds, call (a hypothetical)
242242``(*intf_struct.copy_bits)(&intf_struct, dest, sizeof(dest)) ``; if it fails,
243243they can use ``PyObject_CallMethod(int_object, "to_bytes", ...) `` to perform the
@@ -248,9 +248,10 @@ single extension module that is binary compatible with *all* releases supporting
248248Overview complete, here is the full specification of each new API:
249249
250250.. code-block :: c
251+
251252 // Abstract API to request an interface for an object (or type).
252253 PyAPI_FUNC(int) PyObject_GetInterface(PyObject *obj, void *intf);
253-
254+
254255 // API to release an interface.
255256 PyAPI_FUNC(int) PyInterface_Release(void *intf);
256257
@@ -268,7 +269,7 @@ Overview complete, here is the full specification of each new API:
268269 // Should only be invoked by PyInterface_Release(), not directly.
269270 int (*release)(struct PyInterface_Base *intf);
270271 } PyInterface_Base;
271-
272+
272273 // Type slot definition for PyTypeObject field.
273274 typedef int (*Py_getinterfacefunc)(PyObject *o, PyInterface_Base *intf);
274275
0 commit comments