Doc: Python API: Clean up warnings in the ExitStatus class.
This is due to a bug in python that should be fixed in 3.13. See:
https://github.com/python/cpython/pull/117847
In the meantime, we can just tell sphinx to stop documenting inherited
members when it gets to Int.
Fixes T726