New submission from Jim Fasarakis-Hilliard:

Similar to #30168 opened earlier. The MimeTypes class's methods and attributes 
aren't indented and the resulting documentation is not indented and duplicates 
the class name. 

Didn't find anything that might indicate this was intentional when trying to 
blame this change. It seems to have happened at some point between 2.6 [1] and 
2.7 [2], though, where the class directive was moved to the MimeTypes Objects 
section. Also didn't find an expert for this module in the index. 

Proposed change just indents these. 

[1]: https://github.com/python/cpython/blame/2.6/Doc/library/mimetypes.rst
[2]: https://github.com/python/cpython/blame/2.7/Doc/library/mimetypes.rst

----------
assignee: docs@python
components: Documentation
messages: 292374
nosy: Jim Fasarakis-Hilliard, docs@python
priority: normal
severity: normal
status: open
title: Indent methods and attributes of MimeTypes class
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30178>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to