From e2ca0f645b02d426361831d0301e97d22c1c67a8 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Tue, 10 Jan 2023 23:07:28 +0100 Subject: [PATCH] Use the pycon lexer and avoid blacken-docs syntax error --- docs/user/build-customization.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/build-customization.rst b/docs/user/build-customization.rst index b30780aea29..a9a8d061327 100644 --- a/docs/user/build-customization.rst +++ b/docs/user/build-customization.rst @@ -119,9 +119,9 @@ You can use this approach to cancel builds that you don't want to complete based `the Unix implementation does this automatically `_ for exit codes greater than 255. - .. code-block:: python + .. code-block:: pycon - >>> sum(list('skip'.encode('ascii'))) + >>> sum(list("skip".encode("ascii"))) 439 >>> 439 % 256 183