def remove_range(self, start, end):
        '''Remove a range by score.
        '''
        return self._sl.remove_range(
            start, end, callback=lambda sc, value: self._dict.pop(value))
Remove a range by score.