RealNumbers.contains_set

RealNumbers.contains_set(self, other)[source]

Return True if other is a subset of the real numbers.

Returns
containedbool

True if other is an instance of RealNumbers or Integers False otherwise.

Examples

>>> real_numbers = RealNumbers()
>>> real_numbers.contains_set(RealNumbers())
True