CartesianProduct.__contains__¶
-
CartesianProduct.
__contains__
(self, other)[source]¶ Return
other in self
.- Parameters
- other :
Object to be tested for membership
- Returns
- containsbool
True
ifother
is a sequence with same length as this Cartesian product, and each entry is contained in the set with corresponding index,False
otherwise.