diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-06 00:39:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 00:39:21 (GMT) |
commit | d7869ec22a1d2ba1a59126ba09b4735b1c810467 (patch) | |
tree | 5af2c72309e9c58dbf7af5fe9d4e380d0acac4fc /Doc/library | |
parent | 495ba70356fc4824aabb7c245b441051dded14e0 (diff) | |
download | cpython-d7869ec22a1d2ba1a59126ba09b4735b1c810467.zip cpython-d7869ec22a1d2ba1a59126ba09b4735b1c810467.tar.gz cpython-d7869ec22a1d2ba1a59126ba09b4735b1c810467.tar.bz2 |
[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 6f8411cfd68134ccae01b0b4cb332578008a69e3)
Co-authored-by: nabin2004 <107109731+nabin2004@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/inspect.rst | 2 |
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 |