Skip to content

Commit 9b3e622

Browse files
committed
Fix typos
Found via `codespell -L datas,ser,readd,wont,frameword`
1 parent 7bc85b3 commit 9b3e622

31 files changed

+45
-45
lines changed

DEVELOPERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ After the upload has finished, check the live pages:
317317

318318
* Automatic reconnection
319319
* Configurable WAMP connecting transports
320-
* WAMP Connection abstration
320+
* WAMP Connection abstraction
321321
* Authentication
322322

323323
**0.10** will get into "maintenance mode" after **0.10.6**. We'll have a maintenance branch for that over some time. The new development will be based on **0.11** (see below).

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Autobahn contains **NVX**, a network accelerator library that provides SIMD acce
209209

210210
.. note:
211211
212-
NVX lives in namespace `autobahn.nvx` and currently requires a x86-86 CPU with at least SSE2 and makes use of SSE4.1 if available. The code is written using vector instrinsics, should compile with both GCC and Clang,and interfaces with Python using CFFI, and hence runs fast on PyPy.
212+
NVX lives in namespace `autobahn.nvx` and currently requires a x86-86 CPU with at least SSE2 and makes use of SSE4.1 if available. The code is written using vector intrinsics, should compile with both GCC and Clang,and interfaces with Python using CFFI, and hence runs fast on PyPy.
213213
214214
-----
215215

autobahn/nvx/_utf8validator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ int _nvx_utf8vld_validate_table (void* utf8vld, const uint8_t* data, size_t leng
237237
state = 1; \
238238
} \
239239
} else if (state == 1) { \
240-
/* refective state 1 */ \
240+
/* reflective state 1 */ \
241241
} else { \
242242
/* should not arrive here */ \
243243
}

autobahn/twisted/wamp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def accept(response):
308308
# be applied for every Autobahn/Twisted protocol instance from the factory
309309
transport_factory.setProtocolOptions(**protocol_options)
310310

311-
# supress pointless log noise
311+
# suppress pointless log noise
312312
transport_factory.noisy = False
313313

314314
if endpoint:

autobahn/util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def generate_token(char_groups: int,
404404
:param chars_per_group: Number of characters per character group (or 1 to return a token with no grouping).
405405
:param chars: Characters to choose from. Default is 27 character subset
406406
of the ISO basic Latin alphabet (see: ``DEFAULT_TOKEN_CHARS``).
407-
:param sep: When separating groups in the token, the separater string.
407+
:param sep: When separating groups in the token, the separated string.
408408
:param lower_case: If ``True``, generate token in lower-case.
409409
410410
:returns: The generated token.
@@ -751,7 +751,7 @@ class ObservableMixin(object):
751751
# be a lot easier to deal with here. Having an __init__ method
752752
# with a "mix in" style class can be fragile and error-prone,
753753
# especially if it takes arguments. Since we don't use the
754-
# "parent" beavior anywhere, I didn't add a .set_parent() (yet?)
754+
# "parent" behavior anywhere, I didn't add a .set_parent() (yet?)
755755

756756
# these are class-level globals; individual instances are
757757
# initialized as-needed (e.g. the first .on() call adds a
@@ -789,7 +789,7 @@ def on(self, event, handler):
789789
790790
:param event: the name of the event
791791
792-
:param handler: a callable thats invoked when .fire() is
792+
:param handler: a callable that's invoked when .fire() is
793793
called for this events. Arguments will be whatever are given
794794
to .fire()
795795
"""
@@ -816,7 +816,7 @@ def off(self, event=None, handler=None):
816816
# maybe this should mean "remove the given handler
817817
# from any event at all that contains it"...?
818818
raise RuntimeError(
819-
"Can't specificy a specific handler without an event"
819+
"Can't specify a specific handler without an event"
820820
)
821821
self._listeners = dict()
822822
else:

autobahn/wamp/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def failed(self):
319319
"""
320320
Mark this transport as failed, meaning we won't try to connect to
321321
it any longer (that is: can_reconnect() will always return
322-
False afer calling this).
322+
False after calling this).
323323
"""
324324
self._permanent_failure = True
325325

autobahn/wamp/exception.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ApplicationError(Error):
110110

111111
PAYLOAD_SIZE_EXCEEDED = "wamp.error.payload_size_exceeded"
112112
"""
113-
The application payload could not be transported becuase the serialized/framed payload
113+
The application payload could not be transported because the serialized/framed payload
114114
exceeds the transport limits.
115115
"""
116116

@@ -144,7 +144,7 @@ class ApplicationError(Error):
144144

145145
NO_SUCH_SESSION = "wamp.error.no_such_session"
146146
"""
147-
A router could not perform an operation, since a session ID specified was non-existant.
147+
A router could not perform an operation, since a session ID specified was non-existent.
148148
"""
149149

150150
INVALID_ARGUMENT = "wamp.error.invalid_argument"

autobahn/wamp/flatbuffers/pubsub.fbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ table Event
186186
// When using Payload.CRYPTOBOX, the public Cryptobox key of the key pair used for encrypting the payload.
187187
enc_key: [uint8];
188188

189-
// The WAMP session ID of the pubisher. Only filled when the publisher is disclosed.
189+
// The WAMP session ID of the publisher. Only filled when the publisher is disclosed.
190190
publisher: uint64;
191191

192192
// The WAMP authrole of the publisher. Only filled when publisher is disclosed.

autobahn/wamp/interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def onUserError(self, fail, msg):
356356
current stack-trace and then error-message to stdout.
357357
358358
ApplicationSession-derived objects may override this to
359-
provide logging if they prefer. The Twisted implemention does
359+
provide logging if they prefer. The Twisted implementation does
360360
this. (See :class:`autobahn.twisted.wamp.ApplicationSession`)
361361
362362
:param fail: The failure that occurred.

autobahn/wamp/message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ def __init__(self,
18761876
assert(retain is None or type(retain) == bool)
18771877
assert(transaction_hash is None or type(transaction_hash) == str)
18781878

1879-
# publisher exlusion and black-/whitelisting
1879+
# publisher exclusion and black-/whitelisting
18801880
assert(exclude_me is None or type(exclude_me) == bool)
18811881

18821882
assert(exclude is None or type(exclude) == list)
@@ -1930,7 +1930,7 @@ def __init__(self,
19301930
self._payload = payload
19311931
self._acknowledge = acknowledge
19321932

1933-
# publisher exlusion and black-/whitelisting
1933+
# publisher exclusion and black-/whitelisting
19341934
self._exclude_me = exclude_me
19351935
self._exclude = exclude
19361936
self._exclude_authid = exclude_authid

0 commit comments

Comments
 (0)