code: def add_subdispatch(self, dispatcher, prefix=''):
          
          self.subdispatchers.setdefault(prefix, []).append(dispatcher)
docs: Adds a subdispatcher, possibly in its own namespace.
  
          :param dispatcher: The dispatcher to add as a subdispatcher.
          :type dispatcher: RPCDispatcher
          :param str prefix: A prefix. All of the new subdispatchers methods will be
                         available as prefix + their original name.