Skip to content

Commit

Permalink
fix server/client mixup in client docstrings (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasja committed Mar 27, 2023
1 parent 71e7d36 commit 911cf52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/engineio/asyncio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ async def wait(self):
await self.read_loop_task

async def send(self, data):
"""Send a message to a client.
"""Send a message to the server.
:param data: The data to send to the client. Data can be of type
:param data: The data to send to the server. Data can be of type
``str``, ``bytes``, ``list`` or ``dict``. If a ``list``
or ``dict``, the data will be serialized as JSON.
Expand Down
4 changes: 2 additions & 2 deletions src/engineio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ def wait(self):
self.read_loop_task.join()

def send(self, data):
"""Send a message to a client.
"""Send a message to the server.
:param data: The data to send to the client. Data can be of type
:param data: The data to send to the server. Data can be of type
``str``, ``bytes``, ``list`` or ``dict``. If a ``list``
or ``dict``, the data will be serialized as JSON.
"""
Expand Down

0 comments on commit 911cf52

Please sign in to comment.