[New-bugs-announce] [issue46127] Missing HTML span element in exceptions.html

Vivek Vashist report at bugs.python.org
Sun Dec 19 02:07:18 EST 2021


New submission from Vivek Vashist <vivekvashist at gmail.com>:

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.

----------
assignee: docs at python
components: Documentation
files: Screen Shot 2021-12-19 at 5.29.54 pm.png
messages: 408886
nosy: docs at python, vivekvashist
priority: normal
severity: normal
status: open
title: Missing HTML span element in exceptions.html
versions: Python 3.10
Added file: https://bugs.python.org/file50501/Screen Shot 2021-12-19 at 5.29.54 pm.png

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46127>
_______________________________________


More information about the New-bugs-announce mailing list