mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
gh-108857: improve markup in inspect.Signature.replace() docs (#108862)
This commit is contained in:
parent
cd2ef21b07
commit
6f8411cfd6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue