File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ There are several parts to this proposal.
5454
5555Classes can implement a new dunder method, ``__pprint__() `` which if present, generates the pretty printed
5656representation of their instances. This augments ``__repr__() `` which, prior to this proposal, was the only
57- method used to generate a pretty representation of the object. Since object reprs provide functionality
57+ method used to generate a custom representation of the object. Since object reprs provide functionality
5858distinct from pretty printing, some classes may want more control over their pretty display. The
5959:py:class: `python:pprint.PrettyPrinter ` class is modified to respect an object's ``__pprint__() `` method if
6060present.
You can’t perform that action at this time.
0 commit comments