Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f80e0a

Browse files
committed
Issue #12947: Add a note to doctest until the example rendering is fixed
1 parent 22ab5e7 commit 8f80e0a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Doc/library/doctest.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,14 @@ above.
650650
An example's doctest directives modify doctest's behavior for that single
651651
example. Use ``+`` to enable the named behavior, or ``-`` to disable it.
652652

653+
.. note::
654+
Due to an `unfortunate bug`_ in our documentation publishing process, the
655+
directives in the following examples are not being displayed in the
656+
rendered HTML version. Please use the "Show Source" link in the sidebar
657+
to view the details of the directive usage examples.
658+
659+
.. _unfortunate bug: http://bugs.python.org/issue12947
660+
653661
For example, this test passes::
654662

655663
>>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE

0 commit comments

Comments
 (0)