mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
(cherry picked from commit 34cafd35e3
)
- fix formatting in @text_signature howto and NEWS entry
This commit is contained in:
parent
b0b26af822
commit
ec0c0c8692
1 changed files with 3 additions and 1 deletions
|
@ -1920,7 +1920,9 @@ Example from :source:`Objects/codeobject.c`::
|
||||||
Return a copy of the code object with new values for the specified fields.
|
Return a copy of the code object with new values for the specified fields.
|
||||||
[clinic start generated output]*/
|
[clinic start generated output]*/
|
||||||
|
|
||||||
The generated docstring ends up looking like this::
|
The generated docstring ends up looking like this:
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
replace($self, /, **changes)
|
replace($self, /, **changes)
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue