(self, ins)
return (from_line, to_line)
Parse a line number range as in LIST, DELETE.
Parse a line number range as in LIST, DELETE.
Parse a line number range as in LIST DELETE .
def _parse_line_range(self, ins):
        """Parse a line number range as in LIST, DELETE."""
        from_line = self._parse_jumpnum_or_dot(ins, allow_empty=True)
        if ins.skip_blank_read_if((tk.O_MINUS,)):
            to_line = self._parse_jumpnum_or_dot(ins, allow_empty=True)
        else:
            to_line = from_line
        return (from_line, to_line)
def _parse_line_range ( self , ins ) : from_line = self . _parse_jumpnum_or_dot ( ins , allow_empty = True ) if ins . skip_blank_read_if ( ( tk . O_MINUS , ) ) : to_line = self . _parse_jumpnum_or_dot ( ins , allow_empty = True ) else : to_line = from_line return ( from_line , to_line )