Skip to content

Commit

Permalink
pythongh-108857: improve markup in inspect.Signature.replace() docs (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
nabin2004 authored Sep 6, 2023
1 parent cd2ef21 commit 6f8411c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/inspect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f8411c

Please sign in to comment.