(original) (raw)

changeset: 79430:679b3e3aadae branch: 3.3 parent: 79427:4906d2eb55ef user: Nick Coghlan ncoghlan@gmail.com date: Wed Oct 03 12:21:44 2012 +0530 files: Doc/library/doctest.rst description: Issue #12947: Add a note to doctest until the example rendering is fixed diff -r 4906d2eb55ef -r 679b3e3aadae Doc/library/doctest.rst --- a/Doc/library/doctest.rst Wed Oct 03 03🔞05 2012 +0200 +++ b/Doc/library/doctest.rst Wed Oct 03 12:21:44 2012 +0530 @@ -650,6 +650,14 @@ An example's doctest directives modify doctest's behavior for that single 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:: >>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE /ncoghlan@gmail.com