From ec0c0c8692e32f1c694a53ab00b17893fc03666b Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Wed, 9 Aug 2023 09:54:32 +0200 Subject: [PATCH] [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 --- Doc/howto/clinic.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index 23be8a7a85c..5f4d3977bc1 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) --