]> granicus.if.org Git - python/commit
bpo-8525: help() on a type now shows builtin subclasses (GH-5066)
authorSanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>
Sun, 21 Oct 2018 07:22:02 +0000 (00:22 -0700)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 21 Oct 2018 07:22:02 +0000 (17:22 +1000)
commita323cdcb33c8c856e5668acfb2c67ab5198672c4
treea53d57bcb7b958f1517a59603e07c8c205cf6f6e
parentd31e7730cd5d74efbd7320751dacd51d09cc415d
bpo-8525: help() on a type now shows builtin subclasses (GH-5066)

For builtin types with builtin subclasses, help() on the type now shows up
to 4 of the subclasses. This partially replaces the exception hierarchy
information previously displayed in Python 2.7.
Lib/pydoc.py
Lib/test/test_pydoc.py
Misc/NEWS.d/next/Library/2018-01-01-00-16-59.bpo-8525.Dq8s63.rst [new file with mode: 0644]