Issue #26900: Excluded underscored names and other private API from limited API.
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index bcd1aad..38f733b 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -2257,6 +2257,7 @@
int check_content);
#endif
+#ifndef Py_LIMITED_API
/* Return an interned Unicode object for an Identifier; may fail if there is no memory.*/
PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*);
/* Clear all static strings. */
@@ -2265,6 +2266,7 @@
/* Fast equality check when the inputs are known to be exact unicode types
and where the hash values are equal (i.e. a very probable match) */
PyAPI_FUNC(int) _PyUnicode_EQ(PyObject *, PyObject *);
+#endif /* !Py_LIMITED_API */
#ifdef __cplusplus
}