parameters: (self)
return_statement: return '[%s, %s]' % (self.__inf, self.__sup)
docstring: A visual representation of the range.
  
          >>> str(Range(5))
          '5'
          >>> str(Range(5, 7))
          '[5, 7]'
          >>> str(Range(5, None))
          '[5, ...]'
docstring_summary: A visual representation of the range.
docstring_tokens: A visual representation of the range .
function: def __str__(self):
          """A visual representation of the range.
  
          >>> str(Range(5))
          '5'
          >>> str(Range(5, 7))
          '[5, 7]'
          >>> str(Range(5, None))
          '[5, ...]'
          """
          if self.__sup == self.__inf:
              return str(self.__inf)
          elif self.__sup is None:
              return '[%s, ...]' % self.__inf
          return '[%s, %s]' % (self.__inf, self.__sup)
function_tokens: def __str__ ( self ) : if self . __sup == self . __inf : return str ( self . __inf ) elif self . __sup is None : return '[%s, ...]' % self . __inf return '[%s, %s]' % ( self . __inf , self . __sup )