Skip to content

Commit f254b72

Browse files
committed
no syntax highlighting of the example tracebacks
1 parent 988a5c0 commit f254b72

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

peps/pep-9999.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ ordering::
6161
tg.create_task(fetch_recommendations(uid))
6262
tg.create_task(fetch_inventory(['widget-42']))
6363

64-
With ``PYTHON_TRACEBACK_TIMESTAMPS=iso``, the output becomes::
64+
With ``PYTHON_TRACEBACK_TIMESTAMPS=iso``, the output becomes:
65+
66+
.. code-block:: text
6567
6668
Traceback (most recent call last):
6769
...
@@ -145,7 +147,9 @@ Display Format
145147
--------------
146148

147149
Timestamps are appended to the exception message line in tracebacks using
148-
the format ``<@timestamp>``. Example with ``iso``::
150+
the format ``<@timestamp>``. Example with ``iso``:
151+
152+
.. code-block:: text
149153
150154
Traceback (most recent call last):
151155
File "<stdin>", line 3, in california_raisin

0 commit comments

Comments
 (0)