From 7dd2bdb0b3374f14817b4625f26e865d9825c679 Mon Sep 17 00:00:00 2001 From: Mosalam Ebrahimi Date: Tue, 18 Aug 2020 03:46:23 -0700 Subject: [PATCH] docs: fix typo (#2405) --- docs/classes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/classes.rst b/docs/classes.rst index a63f6a196..1d44a5931 100644 --- a/docs/classes.rst +++ b/docs/classes.rst @@ -74,7 +74,7 @@ Note how ``print(p)`` produced a rather useless summary of our data structure in >>> print(p) -To address this, we could bind an utility function that returns a human-readable +To address this, we could bind a utility function that returns a human-readable summary to the special method slot named ``__repr__``. Unfortunately, there is no suitable functionality in the ``Pet`` data structure, and it would be nice if we did not have to change it. This can easily be accomplished by binding a