diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-29 16:24:39 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-29 16:24:39 (GMT) |
commit | d82eddcf058deb8140e2d8670a4f2109872a2015 (patch) | |
tree | d2a6b2a095874e3ee7ad3f72acbbb0a055974870 /Doc/whatsnew | |
parent | 07a9e452accb432bd9da20b20e13f4bf8feebacb (diff) | |
download | cpython-d82eddcf058deb8140e2d8670a4f2109872a2015.zip cpython-d82eddcf058deb8140e2d8670a4f2109872a2015.tar.gz cpython-d82eddcf058deb8140e2d8670a4f2109872a2015.tar.bz2 |
inspect.getfullargspec: Use inspect.signature API behind the scenes #17481
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 4718339..d7a04f6 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -786,6 +786,13 @@ As part of the implementation of the new :mod:`enum` module, the metaclasses (Contributed by Ethan Furman in :issue:`18929` and :issue:`19030`) +:func:`~inspect.getfullargspec` and :func:`~inspect.getargspec` +now use the :func:`~inspect.signature` API. This allows them to +support much broader range of functions, including some builtins and +callables that follow ``__signature__`` protocol. It is still +recommended to update your code to use :func:`~inspect.signature` +directly. (Contributed by Yury Selivanov in :issue:`17481`) + logging ------- |