Skip to content

gh-112632 : Added an option for block formatting to pprint #129274

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

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b9baf94
Added an option for block formatting to pprint
stodoran Jan 25, 2025
f5fcbfc
Small bug fix for indent=1, added to unit test
StefanTodoran Feb 6, 2025
31a4d1e
Merge branch 'main' into fix-issue-112632
StefanTodoran Feb 6, 2025
a92ef3d
Remove set from block style unit test (since order kept changing)
StefanTodoran Feb 7, 2025
d9a147f
📜🤖 Added by blurb_it.
blurb-it[bot] Feb 7, 2025
ffef3b0
Merge branch 'main' into fix-issue-112632
StefanTodoran Feb 7, 2025
19e4e08
Fix params in news entry
StefanTodoran Feb 7, 2025
8ef085f
Fix line length for news entry
StefanTodoran Feb 7, 2025
c446aa1
Shorten news entry
StefanTodoran Feb 7, 2025
f9bd6ef
Merge branch 'main' into fix-issue-112632
StefanTodoran Feb 9, 2025
49b1108
Address documentation related PR comments
StefanTodoran Feb 19, 2025
62dd5e5
Merge branch 'main' into fix-issue-112632
StefanTodoran Feb 19, 2025
0b8fd2b
Fix length of title underline :/
StefanTodoran Feb 19, 2025
5f08960
Fix test case, remove unnecessary recursion on dataclass (we aren't t…
StefanTodoran Feb 19, 2025
ac71fc4
Merge branch 'main' into fix-issue-112632
StefanTodoran Feb 25, 2025
59ed5fd
Update Doc/library/pprint.rst
StefanTodoran Feb 25, 2025
cbc392d
Update Doc/library/pprint.rst
StefanTodoran Feb 25, 2025
d1af62c
Update Doc/library/pprint.rst
StefanTodoran Feb 25, 2025
283ed38
Update Doc/library/pprint.rst
StefanTodoran Feb 25, 2025
142b92b
Update Doc/library/pprint.rst
StefanTodoran Feb 25, 2025
2273be2
Update Doc/whatsnew/3.14.rst
StefanTodoran Feb 25, 2025
d8b5942
Update Lib/pprint.py
StefanTodoran Feb 25, 2025
8c3ed5c
Update Lib/pprint.py
StefanTodoran Feb 25, 2025
9c7afd5
Update Lib/pprint.py
StefanTodoran Feb 25, 2025
4e7fbff
Update Lib/pprint.py
StefanTodoran Feb 25, 2025
5abab85
Update Lib/pprint.py
StefanTodoran Feb 25, 2025
5e8a624
Update Lib/pprint.py
StefanTodoran Feb 25, 2025
5ffbd0d
Update Lib/test/test_pprint.py
StefanTodoran Feb 25, 2025
fa4cdac
Update Lib/test/test_pprint.py
StefanTodoran Feb 25, 2025
6bffc7e
Update Lib/test/test_pprint.py
StefanTodoran Feb 25, 2025
c8ce4ff
Update Lib/test/test_pprint.py
StefanTodoran Feb 25, 2025
879f1da
Update Lib/test/test_pprint.py
StefanTodoran Feb 25, 2025
21c9fa6
Update Lib/test/test_pprint.py
StefanTodoran Feb 25, 2025
815e1da
Update Lib/test/test_pprint.py
StefanTodoran Feb 25, 2025
9d12a8a
Merge branch 'main' into fix-issue-112632
StefanTodoran Feb 25, 2025
a7c26dd
Apply suggestions from code review
StefanTodoran Feb 25, 2025
37312d9
Split large test case into multiple smaller ones, update news entry
StefanTodoran Mar 28, 2025
e3b09fa
Merge branch 'main' into fix-issue-112632
StefanTodoran Mar 28, 2025
712b644
Merge changes
StefanTodoran Mar 28, 2025
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
Next Next commit
Update Doc/library/pprint.rst
Co-authored-by: donBarbos <donbarbos@proton.me>
  • Loading branch information
StefanTodoran and donBarbos authored Feb 25, 2025
commit 283ed3834ed09f5eddd7aa8ff64d0068aeadb1ca
3 changes: 2 additions & 1 deletion Doc/library/pprint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ PrettyPrinter Objects
.. index:: single: ...; placeholder

.. class:: PrettyPrinter(indent=1, width=80, depth=None, stream=None, *, \
compact=False, sort_dicts=True, underscore_numbers=False, block_style=False)
compact=False, sort_dicts=True, \
underscore_numbers=False, block_style=False)
Comment on lines +167 to +168
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise

Suggested change
compact=False, sort_dicts=True, \
underscore_numbers=False, block_style=False)
block_style=False, compact=False, \
sort_dicts=True, underscore_numbers=False)


Construct a :class:`PrettyPrinter` instance.

Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy