]> granicus.if.org Git - python/commitdiff
Missed one instance of code-block:: text highlighting to revert.
authorGeorg Brandl <georg@python.org>
Wed, 10 Oct 2012 14:56:15 +0000 (16:56 +0200)
committerGeorg Brandl <georg@python.org>
Wed, 10 Oct 2012 14:56:15 +0000 (16:56 +0200)
Doc/library/doctest.rst

index 802113b7a159622a95ab4e0d7cbf5ac7e92fbe40..8f8e5446ca79196ddbc55e6583942b4cffce6972 100644 (file)
@@ -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...>