aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com>2024-03-05 22:14:52 +0100
committerGitHub <noreply@github.com>2024-03-05 22:14:52 +0100
commite205c5cd8f1a49d0ef126123312ee8a40d1416b6 (patch)
tree23799a4f7e458ad851079978d83d919dfa269ffc
parentgh-115103: Enable internal mimalloc assertions in debug builds (#116343) (diff)
downloadcpython-e205c5cd8f1a49d0ef126123312ee8a40d1416b6.tar.gz
cpython-e205c5cd8f1a49d0ef126123312ee8a40d1416b6.tar.bz2
cpython-e205c5cd8f1a49d0ef126123312ee8a40d1416b6.zip
gh-115986: Fix inaccuracies in pprint docs (#116104)
Amend wording after gh-116019 was merged.
-rw-r--r--Doc/library/pprint.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst
index 2a2eb098646..32e1351b7ff 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)