Skip to content

Commit 7055c4a

Browse files
Update 14-objects.php
1 parent 0623515 commit 7055c4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

html3/14-objects.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -638,10 +638,10 @@ class CricketFan(PartyAnimal):
638638
method in the <code>CricketFan</code> class, we call the
639639
<code>party</code> method from the <code>PartyAnimal</code> class.</p>
640640
<p>We use a special syntax in the <code>__init__()</code> method in the
641-
<code>CricketFan</code> class to insure that we call the
642-
<code>__init()__</code> method in the <code>PartyAnimal</code> so that
641+
<code>CricketFan</code> class to ensure that we call the
642+
<code>__init__()</code> method in the <code>PartyAnimal</code> so that
643643
whatever setup that <code>PartyAnimal</code> needs is done in addition
644-
to the setup needed for the <code>CriocketFan</code> extensions.</p>
644+
to the setup needed for the <code>CricketFan</code> extensions.</p>
645645
<pre class="python"><code> def __init__(self, nam) :
646646
super().__init__(nam)
647647
self.points = 0</code></pre>

0 commit comments

Comments
 (0)