Skip to content

Commit 3b13872

Browse files
committed
fix docs
1 parent b16cab9 commit 3b13872

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Doc/library/doctest.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,12 +693,14 @@ doctest decides whether actual output matches an example's expected output:
693693
In other words, the following expected outputs are equivalent under the
694694
:data:`!IGNORE_LINEBREAK`:
695695

696+
.. code-block::
697+
696698
[
697-
'a', 'b', 'c',
698-
'1', '2', '3'
699+
'a', 'b', 'c',
700+
'1', '2', '3'
699701
]
700702
701-
[ 'a', 'b', 'c', '1', '2', '3']
703+
[ 'a', 'b', 'c', '1', '2', '3']
702704
703705
To break a list-like output with :data:`!IGNORE_LINEBREAK`,
704706
leading whitespaces for visual indentation purposes should

0 commit comments

Comments
 (0)