We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2703f5c commit 686fc4dCopy full SHA for 686fc4d
1 file changed
peps/pep-0813.rst
@@ -54,7 +54,7 @@ There are several parts to this proposal.
54
55
Classes can implement a new dunder method, ``__pprint__()`` which if present, generates the pretty printed
56
representation 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
+method used to generate a custom representation of the object. Since object reprs provide functionality
58
distinct from pretty printing, some classes may want more control over their pretty display. The
59
:py:class:`python:pprint.PrettyPrinter` class is modified to respect an object's ``__pprint__()`` method if
60
present.
0 commit comments