Commit da0e579f authored by Nick Coghlan's avatar Nick Coghlan

Merge doctest note from 3.3

parents 497ebdad 8f80e0a6
...@@ -650,6 +650,14 @@ above. ...@@ -650,6 +650,14 @@ above.
An example's doctest directives modify doctest's behavior for that single An example's doctest directives modify doctest's behavior for that single
example. Use ``+`` to enable the named behavior, or ``-`` to disable it. example. Use ``+`` to enable the named behavior, or ``-`` to disable it.
.. note::
Due to an `unfortunate bug`_ in our documentation publishing process, the
directives in the following examples are not being displayed in the
rendered HTML version. Please use the "Show Source" link in the sidebar
to view the details of the directive usage examples.
.. _unfortunate bug: http://bugs.python.org/issue12947
For example, this test passes:: For example, this test passes::
>>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE >>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment