Skip to content

Commit a801c21

Browse files
[PATCH] Apply suggestions from code review (- WIP #110 -)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 85d6617 commit a801c21

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/USAGE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ _fixture_PORT_arg = int(59595)
1717
_fixture_mcast_GRP_arg = """224.0.0.1""" # only use dotted notation for multicast group addresses
1818
_fixture_host_BIND_arg = None # Assuming this variable needs an initial value
1919
_fixture_HEAR_args = [
20-
"""--port""", _fixture_PORT_arg,
21-
"""--join-mcast-groups""", _fixture_mcast_GRP_arg,
22-
"""--bind-group""", _fixture_mcast_GRP_arg
20+
"--port", _fixture_PORT_arg,
21+
"--join-mcast-groups", _fixture_mcast_GRP_arg,
22+
"--bind-group", _fixture_mcast_GRP_arg
2323
]
2424

2525
# spawn a listening proc
@@ -36,9 +36,9 @@ def inputHandle():
3636
if didWork:
3737
buffer_string += result
3838
return buffer_string
39-
def printLoopStub(func):
40-
for i in range( 0, 5 ):
41-
print( str( func() ) )
39+
def print_loop_stub(func):
40+
for _ in range(5):
41+
print(str(func()))
4242

4343
p = Process(
4444
target=multicast.__main__.McastDispatch().doStep,

0 commit comments

Comments
 (0)