Skip to content

Commit 686fc4d

Browse files
warsawwillingc
andauthored
Update peps/pep-0813.rst
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
1 parent 2703f5c commit 686fc4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0813.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ There are several parts to this proposal.
5454

5555
Classes can implement a new dunder method, ``__pprint__()`` which if present, generates the pretty printed
5656
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
57+
method used to generate a custom representation of the object. Since object reprs provide functionality
5858
distinct 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
6060
present.

0 commit comments

Comments
 (0)