Browse Source

Fix typos in documentation #nolog (Fixes #1541)

pull/1542/head
Miguel Grinberg 5 months ago
parent
commit
e01550bda0
Failed to extract signature
  1. 2
      docs/client.rst
  2. 2
      docs/server.rst

2
docs/client.rst

@ -280,7 +280,7 @@ remaining arguments are the same as for a regular event handler.
The ``connect`` and ``disconnect`` events have to be defined explicitly and are The ``connect`` and ``disconnect`` events have to be defined explicitly and are
not invoked on a catch-all event handler. not invoked on a catch-all event handler.
Similarily, a "catch-all" namespace handler is invoked for any connected Similarly, a "catch-all" namespace handler is invoked for any connected
namespaces that do not have an explicitly defined event handler. As with namespaces that do not have an explicitly defined event handler. As with
catch-all events, ``'*'`` is used in place of a namespace:: catch-all events, ``'*'`` is used in place of a namespace::

2
docs/server.rst

@ -492,7 +492,7 @@ information.
Catch-All Namespaces Catch-All Namespaces
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
Similarily to catch-all event handlers, a "catch-all" namespace can be used Similarly to catch-all event handlers, a "catch-all" namespace can be used
when defining event handlers for any connected namespaces that do not have an when defining event handlers for any connected namespaces that do not have an
explicitly defined event handler. As with catch-all events, ``'*'`` is used in explicitly defined event handler. As with catch-all events, ``'*'`` is used in
place of a namespace:: place of a namespace::

Loading…
Cancel
Save