code: def add(self, match, handler):
          
          self.routes.append((match, (
              Route(handler) if not isinstance(handler, Route)
              else handler
          )))
docs: Register a handler with the Router.
  
          :param match: The first argument passed to the :meth:`match` method
              when checking against this handler.
          :param handler: A callable or :class:`Route` instance that will handle
              matching calls. If not a Route instance, will be wrapped in one.