Skip to content

Commit e22886e

Browse files
committed
Check and fix spellings in the user docs
Before we add more.
1 parent e382428 commit e22886e

10 files changed

Lines changed: 21 additions & 17 deletions

File tree

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- run: pip install codespell
1919
- run: codespell --count --ignore-words=Misc/codespell/words.ignore
2020
NEWS README.md README.txt LICENSE.txt Misc/INDEX Misc/codespell/README
21-
21+
Doc InternalDocs ProcessDocs

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
.gradle
1212

13+
# Freely create virtual environments
14+
**/*.venv
15+
1316
# IntelliJ files
1417
*.eml
1518
*.ipr

Doc/differences.ht

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ CPython 2.0</i>
128128
objects may raise <tt>AttributeError</tt> or
129129
<tt>TypeError</tt> differently. <i>This is considered
130130
implementation dependent. In Jython the following rules are
131-
used: when getting a non-existant attribute,
131+
used: when getting a non-existent attribute,
132132
<tt>AttributeError</tt> is raised; when setting or deleting a
133133
readonly attribute, <tt>TypeError</tt> is raised; when setting
134-
or deleting a non-existant attribute, <tt>AttributeError</tt>
134+
or deleting a non-existent attribute, <tt>AttributeError</tt>
135135
is raised. Be aware though currently neither Jython nor
136136
CPython are completely consistent.</i>
137137

@@ -166,7 +166,7 @@ CPython 2.0</i>
166166
value > 255. When the 'b' flag is specified, only the low-order half
167167
of each unicode character will written to the file and the high-order
168168
byte will be set to zero when reading from a file.
169-
Without the 'b' option, the unicode charecters will the passed
169+
Without the 'b' option, the unicode characters will the passed
170170
through the default codec before going to/from the file.
171171

172172
<p><LI>The builtin 'chr' function allows values in the range [0..65535].

Doc/index.ht

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ same language. There are naturally some differences between
7575
the two implementations, sometimes reflecting undefined
7676
aspects of the Python language, sometimes reflecting quirks of
7777
the independent implementations. Here is a more detailed
78-
discussion and <a href="differences.html">comparision of
78+
discussion and <a href="differences.html">comparison of
7979
Jython and CPython</a>.
8080

8181
<li>The <a HREF="https://wiki.python.org/jython">Jython Wiki</a>, which includes the

Doc/properties.ht

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ These conflicts are resolved so that:
100100
</blockquote>
101101

102102
This means that a method will override a field with the same name.
103-
Some carefull handling of properties and static fields allow for
103+
Some careful handling of properties and static fields allow for
104104
the existence of, and access to, both an instance property and a
105105
static field with the same name.
106106

Doc/registry.ht

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Title: The Jython Registry
33
<h3>The Jython Registry</h3>
44

55
Because there is no good platform independent equivalent of the Windows
6-
Registry (or Unix envrionment variables) Java has it's own environment
7-
variable namespace. Jython aquires it's namespace from the following
6+
Registry (or Unix environment variables) Java has its own environment
7+
variable namespace. Jython acquires its namespace from the following
88
three sources (later sources override defaults found in earlier
99
places).
1010

@@ -18,7 +18,7 @@ places).
1818
algorithm Jython uses to find the registry file.
1919

2020
<p><li>The user's personal registry file, which contains
21-
similarly formated prop/value pairs. The user's registry file
21+
similarly formatted prop/value pairs. The user's registry file
2222
is at &quot;<tt>user.home</tt>&quot;+&quot;/.jython&quot;
2323

2424
<p><LI>Jython properties: Specified on the command line as options

Doc/subclassing.ht

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
6969
overrides the "read" method, a Python method must be implemented that
7070
handles all three possible cases. The example below shows the easiest
71-
way to acheive this:
71+
way to achieve this:
7272

7373
<blockquote><PRE>
7474
from 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
111111
the superclass and passing in "self" as the first argument. If you
112112
wish to call your superclass's constructor, you must do so within your
113113
own "__init__" method. When your "__init__" method finishes, if your
114114
Java superclasses have not yet been explicitly initialized, their
115115
empty 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
120120
before accessing any methods in your superclass.
121121

@@ -142,6 +142,6 @@ for i in range(10):
142142
</PRE></blockquote>
143143

144144
This 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>

Doc/usejava.ht

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ it turns out to cause problems.
104104
</tr>
105105
<tr><td>java.lang.Class Class
106106
or JavaClass</td>
107-
<td>(only if class subclasses from exactly one Java class; mutiple inheritance from more than one Java
107+
<td>(only if class subclasses from exactly one Java class; multiple inheritance from more than one Java
108108
class is illegal)</td>
109109
</tr>
110110
<tr><td>Foo[]</td>

Doc/zxjdbc.ht

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ tuple consisting of (headers, results).
465465
<dt><p><code class="methodname">schema(table, full=0, sort=1)</code></p></dt>
466466

467467
<dd>
468-
Displays the schema (indicies, foreign keys, primary keys and columns) for the
468+
Displays the schema (indices, foreign keys, primary keys and columns) for the
469469
table parameter. If <code>full</code> is true, also compute the exported (or
470470
referenced) keys. If <code>sort</code> is true (the default), sort the column names.
471471
<pre>

Misc/codespell/words.ignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
INOUT
2+
NotIn
13
statics
24
sur
3-
NotIn

0 commit comments

Comments
 (0)