There are a number of places in the documentation where sys.exc_info() is no longer necessary, and can be replaced by sys.exception(). They can be updated now. <!-- gh-linked-prs --> ### Linked PRs * gh-102012 * gh-102101 <!-- /gh-linked-prs -->