From 20736b35b77cac1bb6ae51661ec8efe250cb4149 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 19 May 2020 07:02:32 -0700 Subject: 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 ``` (cherry picked from commit 9095f76613c8dd67beb21992def837bb8a37ed25) Co-authored-by: Anthony Sottile --- Doc/library/zoneinfo.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/zoneinfo.rst b/Doc/library/zoneinfo.rst index 1b6f2e7..3a4c12a 100644 --- a/Doc/library/zoneinfo.rst +++ b/Doc/library/zoneinfo.rst @@ -300,7 +300,7 @@ The behavior of a ``ZoneInfo`` file depends on how it was constructed: constructed from ``ZoneInfo("Europe/Berlin")``, one would expect the following behavior: - .. code-block:: + .. code-block:: pycon >>> a = ZoneInfo("Europe/Berlin") >>> b = pickle.loads(europe_berlin_pkl) @@ -314,7 +314,7 @@ The behavior of a ``ZoneInfo`` file depends on how it was constructed: constructed from ``ZoneInfo.no_cache("Europe/Berlin")``, one would expect the following behavior: - .. code-block:: + .. code-block:: pycon >>> a = ZoneInfo("Europe/Berlin") >>> b = pickle.loads(europe_berlin_pkl_nc) -- cgit v0.12