Skip to content

Commit bedf05a

Browse files
Viicoshugovk
andauthored
PEP 255: Fix rendering of Python 2 code block (#4246)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 1bb4f08 commit bedf05a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

peps/pep-0255.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Author: Neil Schemenauer <[email protected]>,
55
Magnus Lie Hetland <[email protected]>
66
Status: Final
77
Type: Standards Track
8-
Content-Type: text/x-rst
98
Requires: 234
109
Created: 18-May-2001
1110
Python-Version: 2.2
@@ -289,7 +288,7 @@ otherwise appearing in ``finally`` clauses, ``except`` clauses, or in the
289288
Example
290289
=======
291290

292-
::
291+
.. code-block:: python2
293292
294293
# A binary tree class.
295294
class Tree:

0 commit comments

Comments
 (0)