Skip to content

Commit d7869ec

Browse files
[3.12] gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862) (#108971)
gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862) (cherry picked from commit 6f8411c) Co-authored-by: nabin2004 <[email protected]>
1 parent 495ba70 commit d7869ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/inspect.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ function.
730730

731731
.. method:: Signature.replace(*[, parameters][, return_annotation])
732732

733-
Create a new Signature instance based on the instance replace was invoked
733+
Create a new Signature instance based on the instance :meth:`replace` was invoked
734734
on. It is possible to pass different ``parameters`` and/or
735735
``return_annotation`` to override the corresponding properties of the base
736736
signature. To remove return_annotation from the copied Signature, pass in

0 commit comments

Comments
 (0)