(self, other)
return other._value_ & self._value_ == other._value_
Returns True if self has at least the same flags set as other.
Returns True if self has at least the same flags set as other.
Returns True if self has at least the same flags set as other .
def __contains__(self, other):
        """
        Returns True if self has at least the same flags set as other.
        """
        if not isinstance(other, self.__class__):
            raise TypeError(
                "unsupported operand type(s) for 'in': '%s' and '%s'" % (
                    type(other).__qualname__, self.__class__.__qualname__))
        return other._value_ & self._value_ == other._value_
def __contains__ ( self , other ) : if not isinstance ( other , self . __class__ ) : raise TypeError ( "unsupported operand type(s) for 'in': '%s' and '%s'" % ( type ( other ) . __qualname__ , self . __class__ . __qualname__ ) ) return other . _value_ & self . _value_ == other . _value_