trepan/lib/breakpoint.py
def delete_breakpoints_by_lineno(self, filename, lineno):
        """Removes all breakpoints at a give filename and line number.
        Returns a list of breakpoints numbers deleted.
        """
        if (filename, lineno) not in self.bplist:
            return []
        breakpoints = self.bplist[(filename, lineno)]
        bpnums = [bp.number for bp in breakpoints]
        for bp in list(breakpoints):
            self.delete_breakpoint(bp)
        return bpnums
def delete_breakpoints_by_lineno(self, filename, lineno):
        """Removes all breakpoints at a give filename and line number.
        Returns a list of breakpoints numbers deleted.
        """
        if (filename, lineno) not in self.bplist:
            return []
        breakpoints = self.bplist[(filename, lineno)]
        bpnums = [bp.number for bp in breakpoints]
        for bp in list(breakpoints):
            self.delete_breakpoint(bp)
        return bpnums
def delete_breakpoints_by_lineno ( self , filename , lineno ) : if ( filename , lineno ) not in self . bplist : return [ ] breakpoints = self . bplist [ ( filename , lineno ) ] bpnums = [ bp . number for bp in breakpoints ] for bp in list ( breakpoints ) : self . delete_breakpoint ( bp ) return bpnums
Removes all breakpoints at a give filename and line number.
        Returns a list of breakpoints numbers deleted.
Removes all breakpoints at a give filename and line number . Returns a list of breakpoints numbers deleted .