The change was introduced in this commit: https://github.com/python/cpython/commit/b454e8e4df73bc73bc1a6f597431f171bfae8abd
docutils doesn't build with Python 3.11