def delt(self,  *args, **kargs):
        self.invalidate_cache()
        route = self.make_route(*args,**kargs)
        try:
            i=self.routes.index(route)
            del(self.routes[i])
        except ValueError:
            warning("no matching route found")
delt(host|net, gw|dev)
dataset/ETHPy150Open phaethon/scapy/scapy/route.py/Route.delt