From 35004034f489736e5f8ba63af7eaf908f24f3373 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Fri, 31 Jan 2025 11:41:14 +0100 Subject: [PATCH 1/2] PEP 255: Fix rendering of Python 2 code block --- peps/pep-0255.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0255.rst b/peps/pep-0255.rst index 104935fcd29..dfeb22ee62c 100644 --- a/peps/pep-0255.rst +++ b/peps/pep-0255.rst @@ -289,7 +289,7 @@ otherwise appearing in ``finally`` clauses, ``except`` clauses, or in the Example ======= -:: +.. code-block:: python2 # A binary tree class. class Tree: From 34b44b5fa46385ebbee1bd51266b6de32ef68973 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 31 Jan 2025 12:49:43 +0200 Subject: [PATCH 2/2] Remove redundant Content-Type header --- peps/pep-0255.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/peps/pep-0255.rst b/peps/pep-0255.rst index dfeb22ee62c..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