I'd like to suggest moving the output of a modules version, e.g.
VERSION
__version__
up as it can "buried" by PACKAGE CONTENTS and DATA items.
https://github.com/python/cpython/blob/3.6/Lib/pydoc.py#L1181
The other attributes (date, author, credits) could be moved up, too, e.g. to https://github.com/python/cpython/blob/3.6/Lib/pydoc.py#L1117
Of course this depends on the use case (what are we looking for), but assuming these attributes are rather limited and constant in size, they would not be blocking access to the further items.
|