Fix name of removed `inspect.Signature.from_builtin` method in 3.11.0a2 changelog (#100525)

This commit is contained in:
Jakub Kuczys 2022-12-26 12:34:18 +01:00 committed by GitHub
parent ad3c99e521
commit 3ccc98fc24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ Removed from the :mod:`inspect` module:
use the :func:`inspect.signature` function and :class:`Signature` object use the :func:`inspect.signature` function and :class:`Signature` object
directly. directly.
* the undocumented ``Signature.from_callable`` and ``Signature.from_function`` * the undocumented ``Signature.from_builtin`` and ``Signature.from_function``
functions, deprecated since Python 3.5; use the functions, deprecated since Python 3.5; use the
:meth:`Signature.from_callable() <inspect.Signature.from_callable>` method :meth:`Signature.from_callable() <inspect.Signature.from_callable>` method
instead. instead.