def split(self, parts):
    if (self.lower == self.upper):
        return None
    size = (self.upper - self.lower)
    max_limit = self.upper
    if self.__delta_added:
        size -= DELTA
        max_limit -= DELTA
    each = (size / parts)
    if (each < DELTA):
        raise se.SystemError((('Splitting of range resulted in elements smaller than delta ' + str(DELTA)) + '.'))
    (lower, ranges) = (self.lower, [])
    for i in range((parts - 1)):
        ranges.append(Range(lower, (lower + each)))
        lower += each
    ranges.append(Range(lower, self.upper))
    return ranges
def split(self, parts):
    if (self.lower == self.upper):
        return None
    size = (self.upper - self.lower)
    max_limit = self.upper
    if self.__delta_added:
        size -= DELTA
        max_limit -= DELTA
    each = (size / parts)
    if (each < DELTA):
        raise se.SystemError((('Splitting of range resulted in elements smaller than delta ' + str(DELTA)) + '.'))
    (lower, ranges) = (self.lower, [])
    for i in range((parts - 1)):
        ranges.append(Range(lower, (lower + each)))
        lower += each
    ranges.append(Range(lower, self.upper))
    return ranges