Skip to content

Commit 9f50378

Browse files
committed
Updated comment.
1 parent 754fc45 commit 9f50378

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmd2/cmd2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,6 +1853,8 @@ def ppretty(
18531853
:param end: string to write at end of printed text. Defaults to a newline.
18541854
"""
18551855
# The overflow and soft_wrap values match those in rich.pretty.pprint().
1856+
# This ensures long strings are neither truncated with ellipses nor broken
1857+
# up by injected newlines.
18561858
pretty_obj = Pretty(
18571859
obj,
18581860
indent_size=indent_size,

0 commit comments

Comments
 (0)