File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -643,7 +643,7 @@ doctest decides whether actual output matches an example's expected output:
643
643
to split'
644
644
645
645
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
647
647
:data: `!IGNORE_LINEBREAK `:
648
648
649
649
.. code-block ::
@@ -659,7 +659,8 @@ doctest decides whether actual output matches an example's expected output:
659
659
leading whitespaces for visual indentation purposes should
660
660
be avoided, for instance:
661
661
662
- .. code-block :: pycon
662
+ .. doctest ::
663
+ :no-trim-doctest-flags:
663
664
664
665
>>> list (" abc123" ) # doctest: +IGNORE_LINEBREAK
665
666
['a', 'b', 'c',
You can’t perform that action at this time.
0 commit comments