Skip to content

Commit 5bb11b6

Browse files
committed
fix: lint error
1 parent 81e9614 commit 5bb11b6

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

src/socketio/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class AsyncClient(base_client.BaseClient):
4545
leave interrupt handling to the calling application.
4646
Interrupt handling can only be enabled when the
4747
client instance is created in the main thread.
48-
:param serializer_args: A mapping of additional parameters to pass to
48+
:param serializer_args: A mapping of additional parameters to pass to
4949
the serializer. The content of this dictionary
5050
depends on the selected serialization method.
5151

src/socketio/async_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class AsyncServer(base_server.BaseServer):
5050
default is `['/']`, which always accepts connections to
5151
the default namespace. Set to `'*'` to accept all
5252
namespaces.
53-
:param serializer_args: A mapping of additional parameters to pass to
53+
:param serializer_args: A mapping of additional parameters to pass to
5454
the serializer. The content of this dictionary
5555
depends on the selected serialization method.
5656
:param kwargs: Connection parameters for the underlying Engine.IO server.

src/socketio/base_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def _get_namespace_handler(self, namespace, args):
253253
handler = self.namespace_handlers['*']
254254
args = (namespace, *args)
255255
return handler, args
256-
256+
257257
def _create_packet(self, *args, **kwargs):
258258
return self.packet_class(*args, **kwargs,
259259
**self.packet_class_args)

src/socketio/client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Client(base_client.BaseClient):
4848
leave interrupt handling to the calling application.
4949
Interrupt handling can only be enabled when the
5050
client instance is created in the main thread.
51-
:param serializer_args: A mapping of additional parameters to pass to
51+
:param serializer_args: A mapping of additional parameters to pass to
5252
the serializer. The content of this dictionary
5353
depends on the selected serialization method.
5454
@@ -237,8 +237,9 @@ def emit(self, event, data=None, namespace=None, callback=None):
237237
data = [data]
238238
else:
239239
data = []
240-
self._send_packet(self._create_packet(packet.EVENT, namespace=namespace,
241-
data=[event] + data, id=id))
240+
self._send_packet(
241+
self._create_packet(packet.EVENT, namespace=namespace,
242+
data=[event] + data, id=id))
242243

243244
def send(self, data, namespace=None, callback=None):
244245
"""Send a message to the server.

src/socketio/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Server(base_server.BaseServer):
5353
default is `['/']`, which always accepts connections to
5454
the default namespace. Set to `'*'` to accept all
5555
namespaces.
56-
:param serializer_args: A mapping of additional parameters to pass to
56+
:param serializer_args: A mapping of additional parameters to pass to
5757
the serializer. The content of this dictionary
5858
depends on the selected serialization method.
5959
:param kwargs: Connection parameters for the underlying Engine.IO server.

0 commit comments

Comments
 (0)