2 from basic
import Basic
6 def __new__(cls
, start
, end
, **assumptions
):
7 start
= Basic
.sympify(start
)
8 end
= Basic
.sympify(end
)
9 return Basic
.__new
__(cls
, start
, end
, **assumptions
)
19 def tostr(self
, level
=0):
20 r
= '[%s, %s]' % (self
.start
, self
.end
)
21 if self
.precedence
<= level
: