Create a single-arg version of PyErr_Display.
PyErr_Display is in the stable ABI but it is not documented. PyErr_DisplayException will therefore need to be in the stable ABI as well (and documented).
Linked PRs
gh-102755: Add PyErr_DisplayException(exc) #102756
gh-102755: fix refleak #102826
gh-102755: PyErr_DisplayException only in ABI >= 3.12. Tests cover PyErr_Display as well #102849