(self, rule)
Removes *rule* from the chain.
Removes *rule* from the chain.
Removes * rule * from the chain .
def delete_rule(self, rule):
        """Removes *rule* from the chain."""
        rule.final_check()
        rbuf = rule.rule
        if not rbuf:
            raise ValueError("invalid rule")
        self.table.delete_entry(self.name, rbuf, rule.mask)
def delete_rule ( self , rule ) : rule . final_check ( ) rbuf = rule . rule if not rbuf : raise ValueError ( "invalid rule" ) self . table . delete_entry ( self . name , rbuf , rule . mask )