diff options
author | Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> | 2018-10-21 07:22:02 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2018-10-21 07:22:02 (GMT) |
commit | a323cdcb33c8c856e5668acfb2c67ab5198672c4 (patch) | |
tree | a53d57bcb7b958f1517a59603e07c8c205cf6f6e /Misc | |
parent | d31e7730cd5d74efbd7320751dacd51d09cc415d (diff) | |
download | cpython-a323cdcb33c8c856e5668acfb2c67ab5198672c4.zip cpython-a323cdcb33c8c856e5668acfb2c67ab5198672c4.tar.gz cpython-a323cdcb33c8c856e5668acfb2c67ab5198672c4.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-01-01-00-16-59.bpo-8525.Dq8s63.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-01-01-00-16-59.bpo-8525.Dq8s63.rst b/Misc/NEWS.d/next/Library/2018-01-01-00-16-59.bpo-8525.Dq8s63.rst new file mode 100644 index 0000000..d8af500 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-01-01-00-16-59.bpo-8525.Dq8s63.rst @@ -0,0 +1,4 @@ +help() on a type now displays builtin subclasses. This is intended primarily +to help with notification of more specific exception subclasses. + +Patch by Sanyam Khurana. |