Skip to content

Commit bc0d9da

Browse files
committed
Update test results
1 parent 3f04477 commit bc0d9da

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

Doc/library/difflib.rst

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -728,16 +728,18 @@ Finally, we compare the two:
728728

729729
>>> from pprint import pprint
730730
>>> pprint(result)
731-
[' 1. Beautiful is better than ugly.\n',
732-
'- 2. Explicit is better than implicit.\n',
733-
'- 3. Simple is better than complex.\n',
734-
'+ 3. Simple is better than complex.\n',
735-
'? ++\n',
736-
'- 4. Complex is better than complicated.\n',
737-
'? ^ ---- ^\n',
738-
'+ 4. Complicated is better than complex.\n',
739-
'? ++++ ^ ^\n',
740-
'+ 5. Flat is better than nested.\n']
731+
[
732+
' 1. Beautiful is better than ugly.\n',
733+
'- 2. Explicit is better than implicit.\n',
734+
'- 3. Simple is better than complex.\n',
735+
'+ 3. Simple is better than complex.\n',
736+
'? ++\n',
737+
'- 4. Complex is better than complicated.\n',
738+
'? ^ ---- ^\n',
739+
'+ 4. Complicated is better than complex.\n',
740+
'? ++++ ^ ^\n',
741+
'+ 5. Flat is better than nested.\n',
742+
]
741743

742744
As a single multi-line string it looks like this:
743745

Doc/library/pprint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Functions
9191
>>> import pprint
9292
>>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
9393
>>> stuff.insert(0, stuff)
94-
>>> pprint.pp(stuff)
94+
>>> pprint.pp(stuff, width=100)
9595
[<Recursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni']
9696

9797
.. versionadded:: 3.8

0 commit comments

Comments
 (0)