From bedf05a3e4b2907fc6fe31a0d9bf9f32ee53e595 Mon Sep 17 00:00:00 2001 From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Fri, 31 Jan 2025 11:51:19 +0100 Subject: [PATCH] PEP 255: Fix rendering of Python 2 code block (#4246) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- peps/pep-0255.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/peps/pep-0255.rst b/peps/pep-0255.rst index 104935fcd29..f0b914139c2 100644 --- a/peps/pep-0255.rst +++ b/peps/pep-0255.rst @@ -5,7 +5,6 @@ Author: Neil Schemenauer , Magnus Lie Hetland Status: Final Type: Standards Track -Content-Type: text/x-rst Requires: 234 Created: 18-May-2001 Python-Version: 2.2 @@ -289,7 +288,7 @@ otherwise appearing in ``finally`` clauses, ``except`` clauses, or in the Example ======= -:: +.. code-block:: python2 # A binary tree class. class Tree: