[3.11] Docs: clean up Argument Clinic howto's (#107797) (#107800)

(cherry picked from commit 34cafd35e3)

- fix formatting in @text_signature howto and NEWS entry
This commit is contained in:
Erlend E. Aasland 2023-08-09 09:54:32 +02:00 committed by GitHub
parent b0b26af822
commit ec0c0c8692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1920,7 +1920,9 @@ Example from :source:`Objects/codeobject.c`::
Return a copy of the code object with new values for the specified fields.
[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)
--