diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2013-09-22 12:46:49 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2013-09-22 12:46:49 (GMT) |
commit | f94a16b494a2b21b8fcb90d666a31f6d78cabc26 (patch) | |
tree | 6c57e1aa09150175d484a45ae8351f0692cd04b3 /Doc/whatsnew | |
parent | 4c7fe6a5add2d773ae3a85679d22414d8eafe66c (diff) | |
download | cpython-f94a16b494a2b21b8fcb90d666a31f6d78cabc26.zip cpython-f94a16b494a2b21b8fcb90d666a31f6d78cabc26.tar.gz cpython-f94a16b494a2b21b8fcb90d666a31f6d78cabc26.tar.bz2 |
Close #18626: add a basic CLI for the inspect module
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 60dd94d..0690e70 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -264,11 +264,15 @@ New :func:`functools.singledispatch` decorator: see the :pep:`443`. inspect ------- + +The inspect module now offers a basic command line interface to quickly +display source code and other information for modules, classes and +functions. + :func:`~inspect.unwrap` makes it easy to unravel wrapper function chains created by :func:`functools.wraps` (and any other API that sets the ``__wrapped__`` attribute on a wrapper function). - mmap ---- |