summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-03-27 16:09:24 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2014-03-27 16:09:24 (GMT)
commitda39645ad300a097decc4e35bb3ea6dbf0633886 (patch)
tree07ccb20f627b8c26a84851df3ebe035d9f0a401c /Doc/whatsnew
parenta5d63dd7b880dd38282ad52f52e3579f965b20e0 (diff)
downloadcpython-da39645ad300a097decc4e35bb3ea6dbf0633886.zip
cpython-da39645ad300a097decc4e35bb3ea6dbf0633886.tar.gz
cpython-da39645ad300a097decc4e35bb3ea6dbf0633886.tar.bz2
inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.5.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index c94102d..78bddcb 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -140,6 +140,10 @@ Improved Modules
* :class:`inspect.Signature` and :class:`inspect.Parameter` are now
picklable (contributed by Yury Selivanov in :issue:`20726`).
+* New class method :meth:`inspect.Signature.from_callable`, which makes
+ subclassing of :class:`~inspect.Signature` easier (contributed
+ by Yury Selivanov and Eric Snow in :issue:`17373`).
+
Optimizations
=============