def __add__(self, other):
        '''
        Creates a new DimensionRange object with other
        concatenated to the end of the range specifications.
        '''
        if isinstance(other, DimensionRange):
            return DimensionRange(self, other)
        else:
            raise ValueError(str(other)+" is not of type DimensionRange")
def __add__ ( self , other ) : if isinstance ( other , DimensionRange ) : return DimensionRange ( self , other ) else : raise ValueError ( str ( other ) + " is not of type DimensionRange" )
Creates a new DimensionRange object with other
        concatenated to the end of the range specifications.