Skip to content

Commit

Permalink
Merge pull request #207 from dsabira/master
Browse files Browse the repository at this point in the history
fixed the typo in 19.4 section
  • Loading branch information
bnmnetp authored Apr 6, 2022
2 parents fb97482 + 6bf3244 commit 6379b4e
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 6379b4e

Please # to comment.