gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862)
(cherry picked from commit
6f8411cfd68134ccae01b0b4cb332578008a69e3)
Co-authored-by: nabin2004 <107109731+nabin2004@users.noreply.github.com>
.. 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