From 23a87de96f11661979ed805b5cf7bda639116747 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 10 Oct 2012 16:56:15 +0200 Subject: [PATCH] Missed one instance of code-block:: text highlighting to revert. --- Doc/library/doctest.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 802113b7a15..8f8e5446ca7 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -754,9 +754,7 @@ Another bad idea is to print things that embed an object address, like :: >>> C() # the default repr() for instances embeds an address <__main__.C instance at 0x00AC18F0> -The :const:`ELLIPSIS` directive gives a nice approach for the last example: - -.. code-block:: text +The :const:`ELLIPSIS` directive gives a nice approach for the last example:: >>> C() #doctest: +ELLIPSIS <__main__.C instance at 0x...>