RealNumbers.contains_set¶
- RealNumbers.contains_set(other)[source]¶
Return
True
ifother
is a subset of the real numbers.- Returns:
- containedbool
True
if other is an instance ofRealNumbers
orIntegers
False otherwise.
Examples
>>> real_numbers = RealNumbers() >>> real_numbers.contains_set(RealNumbers()) True