https://github.com/python/cpython/commit/ceb6038b053c403bed3ca3a8bd17b7e3fc9aab7d
commit: ceb6038b053c403bed3ca3a8bd17b7e3fc9aab7d
branch: main
author: Kerim Kabirov <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-04-22T12:28:21+02:00
summary:

gh-115986 Improve pprint documentation accuracy (#117403)

Co-authored-by: Jelle Zijlstra <[email protected]>

files:
M Doc/library/pprint.rst

diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst
index eebd270a096ba5..6dfea25d755f75 100644
--- a/Doc/library/pprint.rst
+++ b/Doc/library/pprint.rst
@@ -19,9 +19,8 @@ such as files, sockets or classes are included, as well as 
many other
 objects which are not representable as Python literals.
 
 The formatted representation keeps objects on a single line if it can, and
-breaks them onto multiple lines if they don't fit within the allowed width.
-Construct :class:`PrettyPrinter` objects explicitly if you need to adjust the
-width constraint.
+breaks them onto multiple lines if they don't fit within the allowed width,
+adjustable by the *width* parameter defaulting to 80 characters.
 
 Dictionaries are sorted by key before the display is computed.
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to