Skip to content

Commit 805dd0c

Browse files
martinetdDominique Martinet
authored andcommitted
fix typos in comments and docs
Tried pylint's --spelling-dict=en_US, which is "a bit" rough, but after generating a private-dictionary of only 336 entries I got a clean pass... Change-Id: I14fa213810e94414fa83e5fb0f255a829096081c
1 parent 7e228fd commit 805dd0c

File tree

22 files changed

+375
-39
lines changed

22 files changed

+375
-39
lines changed

.spelling-dict

Lines changed: 336 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,336 @@
1+
accessor
2+
accessors
3+
ack
4+
acknowledgement
5+
allgroups
6+
api
7+
arcname
8+
argc
9+
args
10+
astrand
11+
async
12+
aurelien
13+
autoclose
14+
autoclosing
15+
autodir
16+
autodirs
17+
automagically
18+
autorepeat
19+
autostep
20+
backend
21+
backtrace
22+
bak
23+
basename
24+
bitmask
25+
bitset
26+
boolean
27+
boston
28+
bsd
29+
btw
30+
buf
31+
bufferize
32+
castable
33+
casted
34+
cea
35+
cfg
36+
cfgdir
37+
chan
38+
chanworker
39+
children's
40+
cli
41+
closefd
42+
clubak
43+
clush
44+
clushconfig
45+
clustershell
46+
cnf
47+
combinaison
48+
commmand
49+
comparand
50+
compat
51+
conf
52+
confdir
53+
confdirs
54+
config
55+
configfile
56+
convertion
57+
corsunkn
58+
cp
59+
cpickle
60+
cprofile
61+
cpu
62+
cstringio
63+
ctl
64+
customizable
65+
cwd
66+
decref
67+
degremont
68+
delayable
69+
dequeue
70+
deserialization
71+
deserialize
72+
dest
73+
destdir
74+
dir
75+
dirname
76+
disp
77+
doreau
78+
dp
79+
dsh
80+
dshbak
81+
dst
82+
dup
83+
dups
84+
edu
85+
eg
86+
elif
87+
encodestring
88+
enginetimer
89+
eof
90+
eol
91+
epoll
92+
errread
93+
errwrite
94+
espected
95+
eventhandler
96+
eventport
97+
eventtimer
98+
evmask
99+
evolutions
100+
excepthook
101+
excobj
102+
execv
103+
expanduser
104+
failback
105+
fanout
106+
fastsubprocess
107+
fd
108+
fdopen
109+
fds
110+
filename
111+
filenames
112+
fileno
113+
foldable
114+
forbin
115+
franklin
116+
functools
117+
garanteed
118+
gc
119+
getter
120+
getters
121+
gib
122+
groupresolver
123+
groupsconf
124+
groupsource
125+
groupsources
126+
grpcount
127+
gsissh
128+
gtr
129+
gw
130+
gwprof
131+
hasattr
132+
hashable
133+
heapq
134+
henri
135+
hostfile
136+
hostname
137+
hpc
138+
ie
139+
ilo
140+
init
141+
init's
142+
initalize
143+
initializer
144+
instanciate
145+
instanciated
146+
instanciation
147+
io
148+
ish
149+
isinstance
150+
issubset
151+
istart
152+
iter
153+
iterable
154+
joinable
155+
kib
156+
krsh
157+
kwargs
158+
len
159+
lf
160+
linux
161+
liu
162+
lll
163+
lysator
164+
matcher
165+
maxint
166+
maxoptimize
167+
metaclass
168+
metaworker
169+
metaworkers
170+
meth
171+
mib
172+
mrsh
173+
msg
174+
msgid
175+
msgline
176+
msgq
177+
msgtree
178+
multi
179+
mycommand
180+
myeventhandler
181+
mykernel
182+
namespace
183+
namespaces
184+
nbr
185+
nd
186+
newname
187+
newroot
188+
nexthop
189+
nodegroup
190+
nodegroups
191+
nodelist
192+
nodename
193+
nodeset
194+
nodesets
195+
nodeutils
196+
nonblocking
197+
noprefix
198+
ns
199+
nsb
200+
nsiter
201+
nsobj
202+
obatchmode
203+
occured
204+
ok
205+
opc
206+
opcode
207+
openssh
208+
optionparser
209+
os
210+
other's
211+
ouput
212+
overridable
213+
params
214+
parsable
215+
passphrase
216+
pathname
217+
pdcp
218+
pdsh
219+
pfx
220+
pid
221+
popen
222+
prc
223+
pre
224+
programmatically
225+
progressmeter
226+
psf
227+
py
228+
pydoc
229+
queueing
230+
rangeset
231+
rangesets
232+
rc
233+
rcopy
234+
rcp
235+
readahead
236+
readline
237+
recv
238+
redisplay
239+
reentrant
240+
reinit
241+
reloader
242+
repr
243+
repropagate
244+
responder
245+
retainable
246+
retcode
247+
retcodes
248+
returncode
249+
rgnd
250+
rlimit
251+
rng
252+
rset
253+
rsh
254+
runloop
255+
runtime
256+
runtimer
257+
safestring
258+
scp
259+
se
260+
sendq
261+
setdaemon
262+
sfile
263+
shlex
264+
signum
265+
sname
266+
sourcename
267+
src
268+
sshpass
269+
stanford
270+
startup
271+
stderr
272+
stdin
273+
stdout
274+
stephane
275+
sthiell
276+
str
277+
straighforward
278+
stringify
279+
striter
280+
subclasses
281+
subclassing
282+
subnodeset
283+
suboptimal
284+
subprocess
285+
subprocesses
286+
subrange
287+
subrangeset
288+
substition
289+
subtree
290+
superclass
291+
superset
292+
sys
293+
syscall
294+
tarfile
295+
taskid
296+
thiell
297+
thr
298+
timedout
299+
timeout'd
300+
timercases
301+
tmp
302+
tng
303+
topologies
304+
tty
305+
tuple
306+
tuples
307+
uname
308+
unhandled
309+
unicode
310+
univariate
311+
unpickle
312+
unpickled
313+
unpickling
314+
unreg
315+
unregister
316+
unregistering
317+
upcall
318+
upcalls
319+
updaten
320+
uptime
321+
usa
322+
ushlex
323+
veclist
324+
versioning
325+
wcmasks
326+
whencolor
327+
whitespace
328+
whitespaces
329+
wildcard
330+
wildcarded
331+
workername
332+
workerrsh
333+
workerssh
334+
xml
335+
xset
336+
yaml

ChangeLog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@
691691

692692
* Version 1.4 released.
693693

694-
* NodeSet.py: Add docstring for NodeSet string arithmetics (, ! & ^),
694+
* NodeSet.py: Add docstring for NodeSet string arithmetic (, ! & ^),
695695
which is also called extended string pattern (trac ticket #127).
696696

697697
2010-12-14 S. Thiell <[email protected]>
@@ -1027,7 +1027,7 @@
10271027

10281028
* NodeSet.py: Added node group support with the help of the new NodeUtils
10291029
module (trac ticket #41). Improved parser to support basic node/nodegroups
1030-
arithmetics (trac ticket #44).
1030+
arithmetic (trac ticket #44).
10311031

10321032
* NodeUtils.py: New module that provides binding support to external node
10331033
group sources (trac ticket #43).

doc/man/man1/cluset.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ split result into a number of subsets
141141
split result into contiguous subsets (ie. for nodeset, subsets will contain nodes with same pattern name and a contiguous range of indexes, like foobar[1\-100]; for rangeset, subsets with consists in contiguous index ranges)"""
142142
.TP
143143
.BI \-\-axis\fB= RANGESET
144-
for nD nodesets, fold along provided axis only. Axis are indexed from 1 to n and can be specified here either using the rangeset syntax, eg. \(aq1\(aq, \(aq1\-2\(aq, \(aq1,3\(aq, or by a single negative number meaning that the indice is counted from the end. Because some nodesets may have several different dimensions, axis indices are silently truncated to fall in the allowed range.
144+
for nD nodesets, fold along provided axis only. Axis are indexed from 1 to n and can be specified here either using the rangeset syntax, eg. \(aq1\(aq, \(aq1\-2\(aq, \(aq1,3\(aq, or by a single negative number meaning that the indices is counted from the end. Because some nodesets may have several different dimensions, axis indices are silently truncated to fall in the allowed range.
145145
.TP
146146
.BI \-\-pick\fB= N
147147
pick N node(s) at random in nodeset

doc/man/man1/clush.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ gathered output results.
6666
.sp
6767
The \fB\-w\fP option allows you to specify remote hosts by using ClusterShell
6868
NodeSet syntax, including the node groups \fB@group\fP special syntax and the
69-
\fBExtended Patterns\fP syntax to benefits from NodeSet basic arithmetics
69+
\fBExtended Patterns\fP syntax to benefits from NodeSet basic arithmetic
7070
(like \fB@Agroup\e&@Bgroup\fP). See EXTENDED PATTERNS in \fBnodeset\fP(1) and
7171
also \fBgroups.conf\fP(5) for more information.
7272
.sp

doc/man/man1/nodeset.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ split result into a number of subsets
141141
split result into contiguous subsets (ie. for nodeset, subsets will contain nodes with same pattern name and a contiguous range of indexes, like foobar[1\-100]; for rangeset, subsets with consists in contiguous index ranges)"""
142142
.TP
143143
.BI \-\-axis\fB= RANGESET
144-
for nD nodesets, fold along provided axis only. Axis are indexed from 1 to n and can be specified here either using the rangeset syntax, eg. \(aq1\(aq, \(aq1\-2\(aq, \(aq1,3\(aq, or by a single negative number meaning that the indice is counted from the end. Because some nodesets may have several different dimensions, axis indices are silently truncated to fall in the allowed range.
144+
for nD nodesets, fold along provided axis only. Axis are indexed from 1 to n and can be specified here either using the rangeset syntax, eg. \(aq1\(aq, \(aq1\-2\(aq, \(aq1,3\(aq, or by a single negative number meaning that the indices is counted from the end. Because some nodesets may have several different dimensions, axis indices are silently truncated to fall in the allowed range.
145145
.TP
146146
.BI \-\-pick\fB= N
147147
pick N node(s) at random in nodeset

doc/sphinx/guide/nodesets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pattern*, adding support for union (with special character *","*), difference
173173
(with special character *"!"*), intersection (with special character *"&"*)
174174
and symmetric difference (with special character *"^"*) operations. String
175175
patterns are read from left to right, by proceeding any character operators
176-
accordinately. The following example shows how you can use this feature::
176+
accordingly. The following example shows how you can use this feature::
177177

178178
>>> print NodeSet("node[10-42],node46!node10")
179179
node[11-42,46]

doc/sphinx/tools/clush.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The ``-w`` option allows you to specify remote hosts by using ClusterShell
4747
:class:`.NodeSet` syntax, including the node groups *@group* special syntax
4848
(cf. :ref:`nodeset-groupsexpr`) and the Extended String Patterns syntax (see
4949
:ref:`class-NodeSet-extended-patterns`) to benefits from :class:`.NodeSet`
50-
basic arithmetics (like ``@Agroup&@Bgroup``). Additionally, the ``-x`` option
50+
basic arithmetic (like ``@Agroup&@Bgroup``). Additionally, the ``-x`` option
5151
allows you to exclude nodes from remote hosts list (the same NodeSet syntax
5252
can be used here). Nodes exclusion has priority over nodes addition.
5353

0 commit comments

Comments
 (0)