parameters: (self, val)
return_statement: return val >= self.__inf and sup
docstring: Whether val is included in self.
docstring_summary: Whether val is included in self.
docstring_tokens: Whether val is included in self .
function: def __contains__(self, val):
        """Whether val is included in self."""
        if isinstance(val, Range):
          return val.inf() in self and val.sup() in self
        sup = (self.__sup is None or val <= self.__sup)
        return val >= self.__inf and sup
function_tokens: def __contains__ ( self , val ) : if isinstance ( val , Range ) : return val . inf ( ) in self and val . sup ( ) in self sup = ( self . __sup is None or val <= self . __sup ) return val >= self . __inf and sup