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)
commit23a87de96f11661979ed805b5cf7bda639116747 (patch)
tree47a88c3e7083f93940067d6dfb53073183214d79
parenta36a1ee4cfbff5ca4029b61c18a921ad1c45fc19 (diff)
downloadcpython-23a87de96f11661979ed805b5cf7bda639116747.zip
cpython-23a87de96f11661979ed805b5cf7bda639116747.tar.gz
cpython-23a87de96f11661979ed805b5cf7bda639116747.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 802113b..8f8e544 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...>