From: Georg Brandl Date: Wed, 10 Oct 2012 14:56:15 +0000 (+0200) Subject: Missed one instance of code-block:: text highlighting to revert. X-Git-Tag: v2.7.5~109^2~239 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a11c1fcd20452976233a31930467342e2e086c45;p=python Missed one instance of code-block:: text highlighting to revert. --- diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index c8a439c883..a1a9c2f833 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -798,9 +798,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...>