Skip to content

Commit

Permalink
Fix documentation typos (#1881)
Browse files Browse the repository at this point in the history
  • Loading branch information
timgates42 committed Sep 15, 2022
1 parent 935ae98 commit 94692d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flask_socketio/__init__.py
Expand Up @@ -248,7 +248,7 @@ def loads(*args, **kwargs):
self.server.register_namespace(namespace_handler)

if app is not None:
# here we attach the SocketIO middlware to the SocketIO object so
# here we attach the SocketIO middleware to the SocketIO object so
# it can be referenced later if debug middleware needs to be
# inserted
self.sockio_mw = _SocketIOMiddleware(self.server, app,
Expand Down Expand Up @@ -744,7 +744,7 @@ def start_background_task(self, target, *args, **kwargs):
:param kwargs: keyword arguments to pass to the function.
This function returns an object that represents the background task,
on which the ``join()`` methond can be invoked to wait for the task to
on which the ``join()`` method can be invoked to wait for the task to
complete.
"""
return self.server.start_background_task(target, *args, **kwargs)
Expand Down

0 comments on commit 94692d3

Please sign in to comment.