From 554853f0d4bb85ed82229efe1f007a9ed507207a Mon Sep 17 00:00:00 2001 From: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com> Date: Tue, 5 Mar 2024 22:14:52 +0100 Subject: [PATCH] gh-115986: Fix inaccuracies in pprint docs (GH-116104) Amend wording after gh-116019 was merged. (cherry picked from commit e205c5cd8f1a49d0ef126123312ee8a40d1416b6) Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com> --- Doc/library/pprint.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst index e7f0bddc9606f7..b4c16222cb6f2a 100644 --- a/Doc/library/pprint.rst +++ b/Doc/library/pprint.rst @@ -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)