Skip to content

Commit a5b4548

Browse files
[STYLE] Oops, more corrections found in review (- WIP PR #348 -)
Changes in file multicast/recv.py: * fixed some typos 🙈 Changes in file tests/check_spelling: * added regression checks to prevent repeats of these typos 🚀
1 parent 3e08296 commit a5b4548

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

multicast/recv.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,10 @@ def tryrecv(msgbuffer, chunk, sock):
316316
317317
Tries to receive data without blocking and appends it to the message buffer.
318318
319-
Individual chunk sizes are controled by the module attribute `_MCAST_DEFAULT_BUFFER_SIZE` set
319+
Individual chunk sizes are controlled by the module attribute `_MCAST_DEFAULT_BUFFER_SIZE` set
320320
at module's load-time. It is possible to override the buffer size via the environment variable
321-
"MULTICAST_BUFFER_SIZE" if available at load-time. However changing the value is not reccomended
322-
unless absolutly needed, and can be done on the sender side too.
321+
"MULTICAST_BUFFER_SIZE" if available at load-time. However changing the value is not recommended
322+
unless absolutely needed, and can be done on the sender side too.
323323
324324
Args:
325325
msgbuffer (list or None): Caller-instantiated collection to store received messages.

tests/check_spelling

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ declare -a SPECIFIC_TYPOS=(
145145
"concatination:concatenation" # from #330
146146
"imperitive:imperative" # from #330
147147
"sentance:sentence" # from #330
148+
"reccomended:recommended" # from #348
149+
"absolutly:absolutely" # from #348
148150
)
149151

150152
function cleanup() {

0 commit comments

Comments
 (0)