parameters: (self, paths_to_remove, addon, bundle)
docstring: Removes the given paths from the current list.
docstring_summary: Removes the given paths from the current list.
docstring_tokens: Removes the given paths from the current list .
function: def remove(self, paths_to_remove, addon, bundle):
          """Removes the given paths from the current list."""
          paths = {path for path in paths_to_remove if path in self.memo}
          if paths:
              self.list[:] = [asset for asset in self.list if asset[0] not in paths]
              self.memo.difference_update(paths)
              return
  
          if paths_to_remove:
              self._raise_not_found(paths_to_remove, bundle)
function_tokens: def remove ( self , paths_to_remove , addon , bundle ) : paths = { path for path in paths_to_remove if path in self . memo } if paths : self . list [ : ] = [ asset for asset in self . list if asset [ 0 ] not in paths ] self . memo . difference_update ( paths ) return if paths_to_remove : self . _raise_not_found ( paths_to_remove , bundle )