parameters: (self, other)
docstring: Chops out all of the intervals in other from this this RangeSet.
  
      NOTE: This is a *MUTATING* operation for performance reasons. Make a copy
      of self if you want to avoid modifying the RangeSet.
  
      Args:
        other: A RangeSet object whose intervals will be removed from this
          RangeSet.
docstring_summary: Chops out all of the intervals in other from this this RangeSet.
docstring_tokens: Chops out all of the intervals in other from this this RangeSet .
function: def exclude_regions(self, other):
      """Chops out all of the intervals in other from this this RangeSet.
  
      NOTE: This is a *MUTATING* operation for performance reasons. Make a copy
      of self if you want to avoid modifying the RangeSet.
  
      Args:
        other: A RangeSet object whose intervals will be removed from this
          RangeSet.
      """
      # pylint: disable=protected-access
      for chrname, chr_intervals in six.iteritems(other._by_chr):
        # If refname is present in self, difference those two IntervalTrees.
        self_intervals = self._by_chr.get(chrname, None)
        if self_intervals:
          for begin, end, _ in chr_intervals:
            self_intervals.chop(begin, end)
          if self_intervals.is_empty():
            # Cleanup after ourselves by removing empty trees from our map.
            del self._by_chr[chrname]
function_tokens: def exclude_regions ( self , other ) : # pylint: disable=protected-access for chrname , chr_intervals in six . iteritems ( other . _by_chr ) : # If refname is present in self, difference those two IntervalTrees. self_intervals = self . _by_chr . get ( chrname , None ) if self_intervals : for begin , end , _ in chr_intervals : self_intervals . chop ( begin , end ) if self_intervals . is_empty ( ) : # Cleanup after ourselves by removing empty trees from our map. del self . _by_chr [ chrname ]