Skip to content

Commit

Permalink
Fix documentation typos
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Mar 13, 2023
1 parent b2cc86c commit 8c747ab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/socketio/asyncio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def emit(self, event, data=None, namespace=None, callback=None):
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the server has received the message. The arguments
the server has received the message. The arguments
that will be passed to the function are those provided
by the server.
Expand Down Expand Up @@ -242,7 +242,7 @@ async def send(self, data, namespace=None, callback=None):
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the server has received the message. The arguments
the server has received the message. The arguments
that will be passed to the function are those provided
by the server.
Expand Down
4 changes: 2 additions & 2 deletions src/socketio/asyncio_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async def emit(self, event, data=None, to=None, room=None, skip_sid=None,
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the client has received the message. The arguments
the client has received the message. The arguments
that will be passed to the function are those provided
by the client. Callback functions can only be used
when addressing an individual client.
Expand Down Expand Up @@ -194,7 +194,7 @@ async def send(self, data, to=None, room=None, skip_sid=None,
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the client has received the message. The arguments
the client has received the message. The arguments
that will be passed to the function are those provided
by the client. Callback functions can only be used
when addressing an individual client.
Expand Down
4 changes: 2 additions & 2 deletions src/socketio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def emit(self, event, data=None, namespace=None, callback=None):
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the server has received the message. The arguments
the server has received the message. The arguments
that will be passed to the function are those provided
by the server.
Expand Down Expand Up @@ -422,7 +422,7 @@ def send(self, data, namespace=None, callback=None):
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the server has received the message. The arguments
the server has received the message. The arguments
that will be passed to the function are those provided
by the server.
"""
Expand Down
4 changes: 2 additions & 2 deletions src/socketio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def emit(self, event, data=None, to=None, room=None, skip_sid=None,
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the client has received the message. The arguments
the client has received the message. The arguments
that will be passed to the function are those provided
by the client. Callback functions can only be used
when addressing an individual client.
Expand Down Expand Up @@ -346,7 +346,7 @@ def send(self, data, to=None, room=None, skip_sid=None, namespace=None,
argument is omitted the event is emitted to the
default namespace.
:param callback: If given, this function will be called to acknowledge
the the client has received the message. The arguments
the client has received the message. The arguments
that will be passed to the function are those provided
by the client. Callback functions can only be used
when addressing an individual client.
Expand Down

0 comments on commit 8c747ab

Please sign in to comment.