From 6bf324441e68a55f0e5567cd7e0ace05012a283e Mon Sep 17 00:00:00 2001 From: Sabira Duishebaeva Date: Tue, 5 Apr 2022 15:36:55 -0400 Subject: [PATCH] fixed the typo in 19.4 section --- _sources/Inheritance/04-ReuseThroughComposition.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sources/Inheritance/04-ReuseThroughComposition.rst b/_sources/Inheritance/04-ReuseThroughComposition.rst index 943bab362..c08f49a98 100644 --- a/_sources/Inheritance/04-ReuseThroughComposition.rst +++ b/_sources/Inheritance/04-ReuseThroughComposition.rst @@ -39,7 +39,7 @@ For example, our LabeledPoint example could have been implemented as follows: print(p.distanceFromOrigin()) The first thing to notice about this version of LabeledPoint -does not inherit from Point. Instead, its constructor +is that it does not inherit from Point. Instead, its constructor instantiates a Point and stores a reference to it in its ``point`` instance variable so that it can be used by the other methods.