From 3ccc98fc24b278e0f8195686f3651c7c9fabeb59 Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Mon, 26 Dec 2022 12:34:18 +0100 Subject: [PATCH] Fix name of removed `inspect.Signature.from_builtin` method in 3.11.0a2 changelog (#100525) --- Misc/NEWS.d/3.11.0a2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/3.11.0a2.rst b/Misc/NEWS.d/3.11.0a2.rst index 8ae8847d846b12..225bd61e90d4a8 100644 --- a/Misc/NEWS.d/3.11.0a2.rst +++ b/Misc/NEWS.d/3.11.0a2.rst @@ -618,7 +618,7 @@ Removed from the :mod:`inspect` module: use the :func:`inspect.signature` function and :class:`Signature` object 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 :meth:`Signature.from_callable() ` method instead.