]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-115986 Reorder pprint docs and amend some references (GH-116019) (#116061)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 28 Feb 2024 20:06:08 +0000 (21:06 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Feb 2024 20:06:08 +0000 (21:06 +0100)
commit91e680b85cb3640660db3eccdd8d6f34dad2cfdc
tree5b4b84375228ca87b72907a2be63a73610894514
parent9df6d1e03338d1d7bc12e0c5e9e2559e2a3ab706
[3.12] GH-115986 Reorder pprint docs and amend some references (GH-116019) (#116061)

GH-115986 Reorder pprint docs and amend some references (GH-116019)

Introduce a new subsubsection, 'Functions', for module level functions,
and place it before the PrettyPrinter class reference.

Also:
- Fix pprint.pprint() references so they properly link to the module
  level function.
- Add links to sys.stdout.
(cherry picked from commit 6c1c94dc517b77afcebb25436a4b7b0d13b6eb4d)

Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com>
Doc/library/pprint.rst