https://github.com/python/cpython/commit/23a9ba45ae59217b53bb656fe040ed3817c09998 commit: 23a9ba45ae59217b53bb656fe040ed3817c09998 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland <[email protected]> date: 2024-03-05T21:20:51Z summary:
[3.12] gh-115986: Fix inaccuracies in pprint docs (GH-116104) (#116382) Amend wording after gh-116019 was merged. (cherry picked from commit e205c5cd8f1a49d0ef126123312ee8a40d1416b6) Co-authored-by: Kerim Kabirov <[email protected]> files: M Doc/library/pprint.rst diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst index 2a2eb098646364..32e1351b7ffeeb 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) _______________________________________________ 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]
