]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-115986 Improve pprint docs formatting (GH-117401)
authorKerim Kabirov <the.privat33r+gh@pm.me>
Thu, 27 Jun 2024 14:32:50 +0000 (16:32 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2024 14:32:50 +0000 (16:32 +0200)
commit0890ad7c024ccf29614849b6ffadcb92c0e91ce7
tree36653ac9a28cc5cfa1b3728407b270a6547190d7
parentdb96edd6d1a58045196a71aff565743f493b5fbb
gh-115986 Improve pprint docs formatting (GH-117401)

* Move pprinter parameters description to the table

The change improves readability.
Suggested in the GH#116085 PR discussion.

* Make pprint doc with params markup

* Fix formatting
Indentation of code blocks made them nested
"Version changed" is better placed after the code block

* Fix formatting for tests

* fix code indentation for autotests

* Fix identation for autotests

* Remove duplication of the parameters' description

* Rearrange parameters description in a correct order

---------

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Doc/library/pprint.rst