bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)

(cherry picked from commit e483f02423917dc4dfd25f46e5b9e6fce304777d)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
17 files changed