summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authornabin2004 <107109731+nabin2004@users.noreply.github.com>2023-09-06 00:27:59 (GMT)
committerGitHub <noreply@github.com>2023-09-06 00:27:59 (GMT)
commit6f8411cfd68134ccae01b0b4cb332578008a69e3 (patch)
tree1db65ad885172aa87f95a2913388f931d30ef52d /Doc/library/inspect.rst
parentcd2ef21b076b494224985e266c5f5f8b37c66618 (diff)
downloadcpython-6f8411cfd68134ccae01b0b4cb332578008a69e3.zip
cpython-6f8411cfd68134ccae01b0b4cb332578008a69e3.tar.gz
cpython-6f8411cfd68134ccae01b0b4cb332578008a69e3.tar.bz2
gh-108857: improve markup in inspect.Signature.replace() docs (#108862)
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 7884308..603ac32 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