This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vivekvashist
Recipients docs@python, vivekvashist
Date 2021-12-19.07:07:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639897638.32.0.841511577932.issue46127@roundup.psfhosted.org>
In-reply-to
Content
Link:
https://docs.python.org/3/library/exceptions.html#exception-hierarchy

Looking at EncodingWarning under exception-hierarchy is displaying BLACK color instead of RED. 

Digging into HTML looks like it is missing the appropriate span class element.

Working:

<span class="o">+--</span> <span class="ne">BytesWarning</span>

Broken:

<span class="o">+--</span> <span class="n">EncodingWarning</span>

See attached screenshot. 

I"m not too familiar with Sphinx but I'm happy to create a PR for this issue if someone could point me in right direction on how to fix this.
History
Date User Action Args
2021-12-19 07:07:18vivekvashistsetrecipients: + vivekvashist, docs@python
2021-12-19 07:07:18vivekvashistsetmessageid: <1639897638.32.0.841511577932.issue46127@roundup.psfhosted.org>
2021-12-19 07:07:18vivekvashistlinkissue46127 messages
2021-12-19 07:07:18vivekvashistcreate