[2.7] bpo-33670: Expose Sphinx errorlevel (GH-7156). (GH-7201)

(cherry picked from commit 8c1ad0c4f69390fded09012e1ed5242c45753bb4)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
1 file changed