code: def register_ignore(self, origins, destination):
          '''
          Add routes to the ignore dictionary
  
          :param origins: a number of origins to register
          :type origins: :py:class:`str` or iterable of :py:class:`str`
          :param destination: where the origins should point to
          :type destination: :py:class:`str`
  
          Ignore dictionary takes the following form::
  
              {'node_a': set(['node_b', 'node_c']),
               'node_b': set(['node_d'])}
  
          '''
          if not isinstance(origins, list):
              origins = [origins]
  
          self.ignore_regexes.setdefault(destination, [re.compile(origin) for origin in origins])
          self.regenerate_routes()
  
          return self.ignore_regexes[destinationf register_ignore(self, origins, destination):
          '''
          Add routes to the ignore dictionary
  
          :param origins: a number of origins to register
          :type origins: :py:class:`str` or iterable of :py:class:`str`
          :param destination: where the origins should point to
          :type destination: :py:class:`str`
  
          Ignore dictionary takes the following form::
  
              {'node_a': set(['node_b', 'node_c']),
               'node_b': set(['node_d'])}
  
          '''
          if not isinstance(origins, list):
              origins = [origins]
  
          self.ignore_regexes.setdefault(destination, [re.compile(origin) for origin in origins])
          self.regenerate_routes()
  
          return self.ignore_regexes[destination]
docs: Add routes to the ignore dictionary
  
          :param origins: a number of origins to register
          :type origins: :py:class:`str` or iterable of :py:class:`str`
          :param destination: where the origins should point to
          :type destination: :py:class:`str`
  
          Ignore dictionary takes the following form::
  
              {'node_a': set(['node_b', 'node_c']),
               'node_b': set(['node_d'])}