gh-92417: Update docs and examples of doctest.IGNORE_EXCEPTION_DETAIL for Py>=3 (GH-92502) (GH-92963)

(cherry picked from commit 97b9c1096feff77a564787ef520cc7d4e1d1c45f)
1 file changed