8000 GH-115986 Docs: promote pprint.pp usage as a default by Privat33r-dev · Pull Request #116614 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-115986 Docs: promote pprint.pp usage as a default #116614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make 'pprint.pp's suggestion conciser
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
Privat33r-dev and hugovk authored Mar 19, 2024
commit 16252cde53b558e2019d5bbf7eb5f426a0e9c983
4 changes: 2 additions & 2 deletions Doc/library/pprint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Functions
:class:`PrettyPrinter` constructor and their meanings are as
described in its documentation below.

Note that *sort_dicts* default is ``True`` and you might want to use
:func:`~pprint.pp` instead.
Note that *sort_dicts* is ``True`` by default and you might want to use
:func:`~pprint.pp` instead where it is ``False`` by default.

.. function:: pformat(object, indent=1, width=80, depth=None, *, \
compact=False, sort_dicts=True, underscore_numbers=False)
Expand Down
0