Remove a list of aliases.
436149
def remove_aliases(self_or_cls, aliases):
        
        for k,v in self_or_cls.aliases.items():
            if v in aliases:
                self_or_cls.aliases.pop(k)
235462
def remove_sites(self, indices):
        
        self._sites = [s for i, s in enumerate(self._sites)
                       if i not in indices]
1303605
def _cleanup(self, domains):
        """"""
        for option in domains.values():
            try:
                os.remove(option['pot'])
            except (IOError, OSError):
                # It is not a problem if we can't actually remove the temporary file
                pass
229693
public String removeResourceAlias(String alias)
    {
        if (_resourceAliases == null)
            return null;
        return (String)_resourceAliases.remove(alias);
    }
860196
def clear(self):
        """"""
        for k in list(self.keys()):
            if k not in self.extrakeys:
                del self[k]
1135629
public void deleteTargettingAliases()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "deleteTargettingAliases");

    //Delete any aliases that target this destination
    if (aliasesThatTargetThisDest != null)
    {
      DynamicConfigManager dcm = messageProcessor.getDynamicConfigManager();
      
      synchronized(aliasesThatTargetThisDest)
      {
        Iterator i = aliasesThatTargetThisDest.iterator();
        while (i.hasNext())
        {
          AbstractAliasDestinationHandler abstractAliasDestinationHandler = 
            (AbstractAliasDestinationHandler) i.next();
          abstractAliasDestinationHandler.deleteTargettingAliases();
          
          //Delete the alias/foreign destination
          dcm.deleteAbstractAliasDestinationHandler(abstractAliasDestinationHandler);
          
          i.remove();
        }
      }
    }
    
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "deleteTargettingAliases");

    return;
  }
941185
function removeFromList(i, L, R) {
    R[L[i]] = R[i];
    L[R[i]] = L[i];
    R[i] = i;
    L[i] = i;
}
1019969
def remove_aliases(target):
    

    if isinstance(target, model.Entry):
        orm.delete(p for p in model.PathAlias if p.entry == target)
    elif isinstance(target, model.Category):
        orm.delete(p for p in model.PathAlias if p.category == target)
    else:
        raise TypeError("Unknown type {}".format(type(target)))
    orm.commit()
1357908
protected function removeAliasFor($key)
    {
        $aliases = \array_keys($this->aliases, $key);

        if (!empty($aliases)) {
            foreach ($aliases as $alias) {
                unset($this->aliases[$alias]);
            }
        }
    }
921486
def clean(self, suffixes=None):
        
        if suffixes is None:
            suffixes = [DONE_SUFFIX, LOCK_SUFFIX, PART_SUFFIX]

        for suffix in suffixes:
            listing = self.working_context.get_listing(suffix)
            for filename in listing:
                self.working_context.remove(filename)
763953
def remove_tar_files(file_list):
    """"""
    for f in file_list:
        if file_exists(f) and f.endswith('.tar'):
            os.remove(f)
624994
def delete(self, *names):
        '''
        
        '''

        def change(session):
            keys = session.keys()
            names_in_common = [name for name in names if name in keys]
            for name in names_in_common:
                del session[name]
        self.__change_session(change)
351663
public static function unsetAlias()
    {
        $file = file_get_contents(self::$aliasFilePath);

        $aliasString = str_replace(
            "'".self::$bowerVendor."'",  
            "'".self::$sourceBower."'",
            self::$aliasBowerString
            );

        $file = str_replace(
            $aliasString, 
            self::$aliasBowerString, 
            $file
            );

        $result = file_put_contents(self::$aliasFilePath, $file);

        if ($result) {
            
            echo "Uninstall alias @bower done\n";
        }
    }
885344
def remove_by(keys, original):
    """"""
    for i in [
            original[index]
            for index, needed in enumerate(keys) if not needed
    ]:
        original.remove(i)
365250
def remove_distribution_list_alias(self, distribution_list, alias):
        
        self.request('RemoveDistributionListAlias', {
            'id': self._get_or_fetch_id(
                distribution_list, self.get_distribution_list
            ),
            'alias': alias,
        })
427453
def remove_account_alias(self, account, alias):
        
        self.request('RemoveAccountAlias', {
            'id': self._get_or_fetch_id(account, self.get_account),
            'alias': alias,
        })
1279250
public void removeAll() {
		for (Light light : lightList) {
			light.dispose();
		}
		lightList.clear();

		for (Light light : disabledLights) {
			light.dispose();
		}
		disabledLights.clear();
	}