From 6f8411cfd68134ccae01b0b4cb332578008a69e3 Mon Sep 17 00:00:00 2001 From: nabin2004 <107109731+nabin2004@users.noreply.github.com> Date: Wed, 6 Sep 2023 06:12:59 +0545 Subject: [PATCH] gh-108857: improve markup in inspect.Signature.replace() docs (#108862) --- Doc/library/inspect.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 7884308a333020..603ac3263bb9ec 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -730,7 +730,7 @@ function. .. method:: Signature.replace(*[, parameters][, return_annotation]) - Create a new Signature instance based on the instance replace was invoked + Create a new Signature instance based on the instance :meth:`replace` was invoked on. It is possible to pass different ``parameters`` and/or ``return_annotation`` to override the corresponding properties of the base signature. To remove return_annotation from the copied Signature, pass in