ComplexNumbers.contains_set¶
-
ComplexNumbers.
contains_set
(self, other)[source]¶ Return
True
ifother
is a subset of the complex numbers.- Returns
- containedbool
True
ifother
is an instance ofComplexNumbers
,RealNumbers
orIntegers
,False
otherwise.
Examples
>>> complex_numbers = ComplexNumbers() >>> complex_numbers.contains_set(RealNumbers()) True