Issue #16148: Small improvements and cleanup. Added version information
to docs.
diff --git a/Include/abstract.h b/Include/abstract.h
index 8148675..e2b0750 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -403,7 +403,9 @@
PyAPI_FUNC(Py_ssize_t) PyObject_Length(PyObject *o);
#define PyObject_Length PyObject_Size
-PyAPI_FUNC(int) _PyObject_HasLen(PyObject *o);
+#ifndef Py_LIMITED_API
+ PyAPI_FUNC(int) _PyObject_HasLen(PyObject *o);
+#endif
PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject *o, Py_ssize_t);
/*