mirror of https://github.com/python/cpython.git
[3.11] gh-115986: Fix inaccuracies in pprint docs (GH-116104) (#116383)
Amend wording after gh-116019 was merged.
(cherry picked from commit e205c5cd8f
)
Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com>
This commit is contained in:
parent
f4672e2569
commit
8675e7f853
|
@ -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…
Reference in New Issue