Skip to content

Commit 2ef888d

Browse files
[3.11] gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862) (#108970)
gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862) (cherry picked from commit 6f8411c) Co-authored-by: nabin2004 <[email protected]>
1 parent 53148af commit 2ef888d

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
@@ -709,7 +709,7 @@ function.
709709

710710
.. method:: Signature.replace(*[, parameters][, return_annotation])
711711

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

0 commit comments

Comments
 (0)