summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.5.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-21 03:07:02 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-21 03:07:02 (GMT)
commit57c74fca025ccd80d9d5f7da2d296c30e34dfec9 (patch)
tree9f113dbe5209f1be7fca4d6aa0c32cfd91a2075d /Doc/whatsnew/3.5.rst
parent45d61561541b35d9c8757b9cc87974edc73f8649 (diff)
downloadcpython-57c74fca025ccd80d9d5f7da2d296c30e34dfec9.zip
cpython-57c74fca025ccd80d9d5f7da2d296c30e34dfec9.tar.gz
cpython-57c74fca025ccd80d9d5f7da2d296c30e34dfec9.tar.bz2
Issue 24248: Deprecate inspect.Signature.from_function and .from_builtin
Diffstat (limited to 'Doc/whatsnew/3.5.rst')
-rw-r--r--Doc/whatsnew/3.5.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 3761b89..c440e94 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -751,6 +751,11 @@ Deprecated Python modules, functions and methods
left to a package.
(Contributed by Vajrasky Kok and Berker Peksag in :issue:`1322`.)
+* Previously undocumented ``from_function`` and ``from_builtin`` methods
+ of :class:`inspect.Signature` are deprecated. Use new
+ :meth:`inspect.Signature.from_callable` instead. (Contributed by Yury
+ Selivanov in :issue:`24248`.)
+
Deprecated functions and types of the C API
-------------------------------------------