Skip to content

Commit

Permalink
fixed the typo in 19.4 section
Browse files Browse the repository at this point in the history
  • Loading branch information
sabira1709 committed Apr 5, 2022
1 parent fb97482 commit 6bf3244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _sources/Inheritance/04-ReuseThroughComposition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 6bf3244

Please # to comment.