Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ceb6038

Browse filesBrowse files
gh-115986 Improve pprint documentation accuracy (#117403)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 550483b commit ceb6038
Copy full SHA for ceb6038

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎Doc/library/pprint.rst

Copy file name to clipboardExpand all lines: Doc/library/pprint.rst
+2-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.