summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-10-10 14:56:15 (GMT)
committerGeorg Brandl <georg@python.org>2012-10-10 14:56:15 (GMT)
commita11c1fcd20452976233a31930467342e2e086c45 (patch)
tree96319db55810239b6719a632d83b7cacc20c32f8
parent7495456ffc10279ea13304d8224f876b5c2830bd (diff)
downloadcpython-a11c1fcd20452976233a31930467342e2e086c45.zip
cpython-a11c1fcd20452976233a31930467342e2e086c45.tar.gz
cpython-a11c1fcd20452976233a31930467342e2e086c45.tar.bz2
Missed one instance of code-block:: text highlighting to revert.
-rw-r--r--Doc/library/doctest.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst
index c8a439c..a1a9c2f 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...>