Skip to content

Commit adc2ecc

Browse files
committed
recommend pp() instead of pprint() to avoid sort_dict=True
1 parent 6d2159b commit adc2ecc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/doctest.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,8 @@ doctest decides whether actual output matches an example's expected output:
666666
['a', 'b', 'c',
667667
'1', '2', '3']
668668

669-
For more complex outputs, consider using :func:`pprint.pprint` instead.
669+
For more complex outputs, consider using :func:`pprint.pp` and matching
670+
its output directly.
670671

671672
.. versionadded:: next
672673

0 commit comments

Comments
 (0)