mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-115986: Fix inaccuracies in pprint docs (#116104)
Amend wording after gh-116019 was merged.
This commit is contained in:
parent
72714c0266
commit
e205c5cd8f
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ Functions
|
|||
The configuration parameters *stream*, *indent*, *width*, *depth*,
|
||||
*compact*, *sort_dicts* and *underscore_numbers* are passed to the
|
||||
:class:`PrettyPrinter` constructor and their meanings are as
|
||||
described in its documentation above.
|
||||
described in its documentation below.
|
||||
|
||||
>>> import pprint
|
||||
>>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
|
||||
|
@ -78,7 +78,7 @@ Functions
|
|||
Return the formatted representation of *object* as a string. *indent*,
|
||||
*width*, *depth*, *compact*, *sort_dicts* and *underscore_numbers* are
|
||||
passed to the :class:`PrettyPrinter` constructor as formatting parameters
|
||||
and their meanings are as described in its documentation above.
|
||||
and their meanings are as described in its documentation below.
|
||||
|
||||
|
||||
.. function:: isreadable(object)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue