code: def remove_routes(self, item, routes):
          
          for route in routes:
              items = self._routes.get(route)
              try:
                  items.remove(item)
                  LOG.debug('removed item from route %s', route)
              except ValueError:
                  pass
              if not items:
                  self._routes.pop(route)
                  LOG.debug('removed route %s', route)
docs: Removes item from matching routes