Remove buffer API from stable ABI for now, see #10181.
diff --git a/Include/abstract.h b/Include/abstract.h
index 53c9dc7..5f2d541 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -488,6 +488,7 @@
/* new buffer API */
+#ifndef Py_LIMITED_API
#define PyObject_CheckBuffer(obj) \
(((obj)->ob_type->tp_as_buffer != NULL) && \
((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL))
@@ -575,6 +576,7 @@
/* Releases a Py_buffer obtained from getbuffer ParseTuple's s*.
*/
+#endif /* Py_LIMITED_API */
PyAPI_FUNC(PyObject *) PyObject_Format(PyObject* obj,
PyObject *format_spec);