Skip to content

Commit c446aa1

Browse files
committed
Shorten news entry
1 parent 8ef085f commit c446aa1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Add a ``block_style`` boolean parameter to :func:`pprint.pp` which inserts a
2-
newline after opening parentheses/braces of printed objects and indents their
3-
contents. In other words, enabling this option results in formatted output
4-
similar to the block style formatting from :func:`json.dumps` when ``indent``
5-
is set to a positive integer. Contributed by Stefan Todoran.
1+
Add a *block_style* keyword argument for :func:`pprint.pprint`,
2+
:func:`pprint.pformat`, :func:`pprint.pp` by passing on all *kwargs* and
3+
:class:`pprint.PrettyPrinter`. Contributed by Stefan Todoran.

0 commit comments

Comments
 (0)