Post #1350658
2026-04-14 14:33 UTC
RE: https://mastodon.social/@hugovk/116370025617675394
Big news (for me at least): pprint on Python 3.15 is going to allow MUCH friendlier output! 🎉
Instead of:
pprint.pprint(some_object)
If you do this:
pprint.pprint(some_object, indent=4, expand=True)
You'll see output that looks like the most commonly used modern Python line-wrapping style in actual code!
I rarely use pprint because its output style is so bizarre.
I may start using it on Python 3.15 (even though the version I'll want to use will take 23 extra characters to type).
Replies (0)
No replies.