Skip to content

Commit 9095f76

Browse files
authored
Fix code-block in zoneinfo (GH-20201)
``` Warning, treated as error: /tmp/code/Doc/library/zoneinfo.rst:303:Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block:: >>> a = ZoneInfo("Europe/Berlin") >>> b = pickle.loads(europe_berlin_pkl) >>> a is b True ```
1 parent 3764069 commit 9095f76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/zoneinfo.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ The behavior of a ``ZoneInfo`` file depends on how it was constructed:
300300
constructed from ``ZoneInfo("Europe/Berlin")``, one would expect the
301301
following behavior:
302302

303-
.. code-block::
303+
.. code-block:: pycon
304304
305305
>>> a = ZoneInfo("Europe/Berlin")
306306
>>> b = pickle.loads(europe_berlin_pkl)
@@ -314,7 +314,7 @@ The behavior of a ``ZoneInfo`` file depends on how it was constructed:
314314
constructed from ``ZoneInfo.no_cache("Europe/Berlin")``, one would expect
315315
the following behavior:
316316

317-
.. code-block::
317+
.. code-block:: pycon
318318
319319
>>> a = ZoneInfo("Europe/Berlin")
320320
>>> b = pickle.loads(europe_berlin_pkl_nc)

0 commit comments

Comments
 (0)