diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-31 19:48:37 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-31 19:48:37 (GMT) |
commit | 63da7c7b0ca728a41b6269c4678392efb7f26625 (patch) | |
tree | 0e6f6d57448161a2faf9d3b00a40c57664432086 /Doc/whatsnew | |
parent | 4ded1f35532b7da37df2bba37a7ad32334349270 (diff) | |
download | cpython-63da7c7b0ca728a41b6269c4678392efb7f26625.zip cpython-63da7c7b0ca728a41b6269c4678392efb7f26625.tar.gz cpython-63da7c7b0ca728a41b6269c4678392efb7f26625.tar.bz2 |
inspect.signature: Support duck-types of Python functions (Cython, for instance) #17159
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index c9c0da7..167cac8 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -793,6 +793,10 @@ 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`) +:func:`~inspect.signature` now supports duck types of CPython functions, +which adds support for functions compiled with Cython. (Contributed +by Stefan Behnel and Yury Selivanov in :issue:`17159`) + logging ------- |