Skip to content

Commit ceb6038

Browse files
gh-115986 Improve pprint documentation accuracy (#117403)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 550483b commit ceb6038

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/pprint.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ such as files, sockets or classes are included, as well as many other
1919
objects which are not representable as Python literals.
2020

2121
The formatted representation keeps objects on a single line if it can, and
22-
breaks them onto multiple lines if they don't fit within the allowed width.
23-
Construct :class:`PrettyPrinter` objects explicitly if you need to adjust the
24-
width constraint.
22+
breaks them onto multiple lines if they don't fit within the allowed width,
23+
adjustable by the *width* parameter defaulting to 80 characters.
2524

2625
Dictionaries are sorted by key before the display is computed.
2726

0 commit comments

Comments
 (0)