summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2021-09-15-10-21-10.bpo-45320.4qaf5x.rst
blob: 1f2236bd424124b4c21a4fbf381e68b6b4b42c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Removed from the :mod:`inspect` module:

* the ``getargspec`` function, deprecated since Python 3.0;
    use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead.

* the ``formatargspec`` function, deprecated since Python 3.5;
  use the :func:`inspect.signature` function and :class:`Signature` object
  directly.

* the undocumented ``Signature.from_callable`` and ``Signature.from_function``
  functions, deprecated since Python 3.5; use the
  :meth:`Signature.from_callable() <inspect.Signature.from_callable>` method
  instead.

Patch by Hugo van Kemenade.