From: Erlend E. Aasland Date: Wed, 9 Aug 2023 07:54:32 +0000 (+0200) Subject: [3.11] Docs: clean up Argument Clinic howto's (#107797) (#107800) X-Git-Tag: v3.11.5~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec0c0c8692e32f1c694a53ab00b17893fc03666b;p=thirdparty%2FPython%2Fcpython.git [3.11] Docs: clean up Argument Clinic howto's (#107797) (#107800) (cherry picked from commit 34cafd35e35dcb44b4347a6478fdbf88b900240c) - fix formatting in @text_signature howto and NEWS entry --- diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index 23be8a7a85c0..5f4d3977bc16 100644 --- a/Doc/howto/clinic.rst +++ b/Doc/howto/clinic.rst @@ -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) --