@@ -68,7 +68,7 @@ be related to the fact that Python doesn't have type signatures
6868;-) In order to implement a subclass of java.io.InputStream that
6969overrides the "read" method, a Python method must be implemented that
7070handles all three possible cases. The example below shows the easiest
71- way to acheive this:
71+ way to achieve this:
7272
7373<blockquote><PRE>
7474from java.io import InputStream
@@ -106,16 +106,16 @@ print dp.readInt()
106106
107107<h3>Invoking Your Superclass's Constructor</h3>
108108
109- You can explictly invoke your superclass's constructor using the
110- standard Python syntax of explictly calling the "__init__" method on
109+ You can explicitly invoke your superclass's constructor using the
110+ standard Python syntax of explicitly calling the "__init__" method on
111111the superclass and passing in "self" as the first argument. If you
112112wish to call your superclass's constructor, you must do so within your
113113own "__init__" method. When your "__init__" method finishes, if your
114114Java superclasses have not yet been explicitly initialized, their
115115empty constructors will be called at this point.
116116
117117<P>It's important to realize that your superclass is not initialized
118- until you either explictly call it's "__init__" method, or your own
118+ until you either explicitly call its "__init__" method, or your own
119119"__init__" method terminates. You must do one of these two things
120120before accessing any methods in your superclass.
121121
@@ -142,6 +142,6 @@ for i in range(10):
142142</PRE></blockquote>
143143
144144This example shows how the superclass's constructor can be effectively
145- called in order to explictly choose a non-empty version.
145+ called in order to explicitly choose a non-empty version.
146146
147147<p>
0 commit comments