Skip to content

Commit 6d2159b

Browse files
committed
fixup
1 parent 6bc4120 commit 6d2159b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/doctest.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ doctest decides whether actual output matches an example's expected output:
643643
to split'
644644

645645
Note that any leading whitespaces on each expected output line are retained.
646-
In other words, the following expected outputs are equivalent under the
646+
In other words, the following expected outputs are equivalent under
647647
:data:`!IGNORE_LINEBREAK`:
648648

649649
.. code-block::
@@ -659,7 +659,8 @@ doctest decides whether actual output matches an example's expected output:
659659
leading whitespaces for visual indentation purposes should
660660
be avoided, for instance:
661661

662-
.. code-block:: pycon
662+
.. doctest::
663+
:no-trim-doctest-flags:
663664

664665
>>> list("abc123") # doctest: +IGNORE_LINEBREAK
665666
['a', 'b', 'c',

0 commit comments

Comments
 (0)