File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,9 @@ instance includes versions of several of the methods in the
244244:class: `socketio.Server ` class that default to the proper namespace when the
245245``namespace `` argument is not given.
246246
247+ Note: if an event has a handler in a class-based namespace, and also a
248+ decorator-based function handler, the standalone function handler is invoked.
249+
247250Using a Message Queue
248251---------------------
249252
Original file line number Diff line number Diff line change @@ -155,9 +155,9 @@ def set_handler(handler):
155155 def register_namespace (self , namespace_handler ):
156156 """Register a namespace handler object.
157157
158- :param namespace_handler: A namespace subclass that handles all the
159- event traffic for a namespace. This method
160- accepts the class itself, or an instance .
158+ :param namespace_handler: An instance of a :class:`Namespace`
159+ subclass that handles all the event traffic
160+ for a namespace .
161161 """
162162 if not isinstance (namespace_handler , namespace .Namespace ):
163163 raise ValueError ('Not a namespace instance' )
You can’t perform that action at this time.
0 commit comments