mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #12947: Add a note to doctest until the example rendering is fixed
This commit is contained in:
parent
364f79d7b3
commit
a42709e6bb
1 changed files with 8 additions and 0 deletions
|
|
@ -680,6 +680,14 @@ above.
|
|||
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 range(20) #doctest: +NORMALIZE_WHITESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue